.ModelicaTest.Utilities.ReadFile

Information

Test reading from file

Interface

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;

Generated at 2024-11-22T19:25:38Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos