FMUInfo - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

FMUTester

  

FMUInfo

  

obtain general FMU information

 

Calling Sequence

Parameters

Returns

Options

Description

Examples

Compatibility

Calling Sequence

FMUInfo(fmu, options)

Parameters

fmu

-

string; FMU name with .fmu extension

Returns

Information about FMU in the format(s) specified by returntype.

Options

• 

returntype = list consisting of one or more of "string", "file", "record"

  

List of strings "string", "file", and/or "record" specifying the type of output to be returned. The default value is ["string"].

• 

outputdir = string

  

Specifies the path to the directory where the file will be written when returntype = "file". If no outputdir is specified, the file will be written in the current directory. The default value is an empty string.

• 

validateFMU = true or false

  

Specifies whether the FMU's model description XML syntax will be validated before obtaining any information. The default value is false.

Description

• 

The FMUInfo procedure obtains general information from the modelDescription.xml file contained in the FMU.

• 

The following sub-categories are shown:

– 

Model Info (FMI version, type, model name, description, platforms, generation tool, generation date)

– 

Default Experiment (default FMU simulation settings)

– 

Variables (inputs and outputs)

Examples

Get the Rectifier FMU information as a string (default)

(1)

Get the CoupledClutches FMU information as a record and as a string

(2)

(3)

(4)

(5)

(6)

(7)

(8)

(9)

(10)

Compatibility

• 

The FMUTester[FMUInfo] command was introduced in Maple 2019.

• 

For more information on Maple 2019 changes, see Updates in Maple 2019.

See Also

FMUTester

FMUTester[FetchFMU]

FMUTester[SimulateFMU]

FMUTester[ValidateResult]

 


Download Help Document