functionsetModelicaPath

Sets the Modelica library path.

Information

Sets the OPENMODELICALIBRARY (MODELICAPATH in the language specification) environment variable in OpenModelica. See loadModel() for a description of what OPENMODELICALIBRARY is used for.

Set it to empty string to clear it: setModelicaPath("");

Inputs

TypeNameDefaultDescription
StringmodelicaPath

Outputs

TypeNameDefaultDescription
Booleansuccess