Test reading from file
function ReadFile extends Modelica.Icons.Function; import Modelica.Utilities.Streams; import Modelica.Utilities.Files; input String file1 = Modelica.Utilities.Files.loadResource("modelica://ModelicaTest/Resources/Data/ReadStreamTestFile.txt"); input String logFile = "ModelicaTestLog.txt" "Filename where the log is stored"; output Boolean ok; end ReadFile;