impure functionsetModelicaPath

Sets the Modelica library path.

Information

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

Set it to the empty string to reset it to the default: setModelicaPath(""); getModelicaPath() tells what the default is.

Inputs

TypeNameDefaultDescription
StringmodelicaPath

Outputs

TypeNameDefaultDescription
Booleansuccess