.OpenModelica.Scripting.readSimulationResultVars

Returns the variables in a simulation results file.

Information

Takes a simulation results file and returns the variables stored in it. These names can be used with e.g. val() or plot()

If readParameters is true, parameter names are also returned.

If openmodelicaStyle is true, the stored variable names are converted to the canonical form used by OpenModelica variables (a.der(b) becomes der(a.b), and so on).

Interface

function readSimulationResultVars
  input String fileName;
  input Boolean readParameters = true;
  input Boolean openmodelicaStyle = false;
  output String[:] vars;
end readSimulationResultVars;

Generated at 2025-05-10T18:20:09Z by OpenModelicaOpenModelica 1.25.0 using GenerateDoc.mos