functionreadSimulationResultVars

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).

Inputs

TypeNameDefaultDescription
StringfileName
BooleanreadParameterstrue
BooleanopenmodelicaStylefalse

Outputs

TypeNameDefaultDescription
Stringvars