functionprintRealArray

Print string to terminal or file

Extends from Modelica.Icons.Function (Icon for functions).

Information

Function that prints a real array to an output file.

Inputs

TypeNameDefaultDescription
RealxInput to be printed
StringfileName""File where to print (empty string is the terminal)
IntegerminimumLength1Minimum width of result
IntegersignificantDigits6Number of significant digits

Outputs

TypeNameDefaultDescription
StringoutStr""String to be printed

Revisions

  • August 16, 2011 by Michael Wetter:
    Removed number attribute in String function as this is not according to the Modelica specification.
  • May 27, 2011 by Michael Wetter:
    Changed parameter precision to significantDigits and minimumWidth to minimumLength to use the same terminology as the Modelica Standard Library.
  • October 1, 2008 by Michael Wetter:
    Revised implementation and moved to new package.
  • September 20, 2007 by Michael Wetter:
    First implementation.