functionimportFMU

Imports a Functional Mockup Unit.

Information

Example command:

importFMU("A.fmu");

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.
TypeNamemodelName$Code(Default)Name of the generated model. If default then the name is auto generated using FMU information.

Outputs

TypeNameDefaultDescription
StringgeneratedFileNameReturns the full path of the generated file.