functionimportFMUModelDescription

Imports modelDescription.xml

Information

Example command:

importFMUModelDescription("A.xml");

Inputs

TypeNameDefaultDescription
Stringfilenamethe fmu file name
Stringworkdir"<default>"The output directory for imported FMU files. <default> will put the files to current working directory.
Integerloglevel3loglevel_nothing=0;loglevel_fatal=1;loglevel_error=2;loglevel_warning=3;loglevel_info=4;loglevel_verbose=5;loglevel_debug=6
BooleanfullPathfalseWhen true the full output path is returned otherwise only the file name.
BooleandebugLoggingfalseWhen true the FMU's debug output is printed.
BooleangenerateInputConnectorstrueWhen true creates the input connector pins.
BooleangenerateOutputConnectorstrueWhen true creates the output connector pins.

Outputs

TypeNameDefaultDescription
StringgeneratedFileNameReturns the full path of the generated file.