functionReadFile

Test reading from file

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

Inputs

TypeNameDefaultDescription
Stringfile1Modelica.Utilities.Files.loadResource("modelica://ModelicaTest/Resources/Data/ReadStreamTestFile.txt")
StringlogFile"ModelicaTestLog.txt"Filename where the log is stored

Outputs

TypeNameDefaultDescription
Booleanok