.OpenModelica.Scripting.stringVariableName

Constructs a VariableName from a string.

Information

stringVariableName is used to make it simpler to create some functionality when scripting. The basic use case is calling functions like val when you do not know the name of the variable a priori: val(stringVariableName(readFile("someFile"))).

Interface

function stringVariableName
  input String str;
  output VariableName cl;
end stringVariableName;

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