functionimportFMUModelDescription
Imports modelDescription.xml
Information
Example command:
importFMUModelDescription("A.xml");
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| String | filename | the fmu file name | |
| String | workdir | "<default>" | The output directory for imported FMU files. <default> will put the files to current working directory. |
| Integer | loglevel | 3 | loglevel_nothing=0;loglevel_fatal=1;loglevel_error=2;loglevel_warning=3;loglevel_info=4;loglevel_verbose=5;loglevel_debug=6 |
| Boolean | fullPath | false | When true the full output path is returned otherwise only the file name. |
| Boolean | debugLogging | false | When true the FMU's debug output is printed. |
| Boolean | generateInputConnectors | true | When true creates the input connector pins. |
| Boolean | generateOutputConnectors | true | When true creates the output connector pins. |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| String | generatedFileName | Returns the full path of the generated file. |