functionreadSimulationResult

Reads a result file, returning a matrix corresponding to the variables and size given.

Inputs

TypeNameDefaultDescription
Stringfilename
VariableNamesvariablese.g. {a.b, a[1].b[3].c}, or a single VariableName
Integersize00=read any size... If the size is not the same as the result-file, this function fails

Outputs

TypeNameDefaultDescription
Real[:,:]result