generate FMI C code - MapleSim Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : MapleSim Toolboxes : MapleSim FMI Connector : FMIConnector Package : FMIConnector/GenerateCode

FMIConnector[GenerateCode] - generate FMI C code

Calling Sequence

GenerateCode(system, options)

Parameters

system

-

`module` ; Msim model

options

-

(optional) equation(s) of the form name = value

Returns

• 

list : a list of settings used for FMU generation

Description

• 

The GenerateCode command generates FMI C code from a MapleSim system.

• 

The output is a list of the following FMU generation settings, in order:

– 

String containing the path to the XML modelDescription file

– 

String containing the path to the C file

– 

If FMI version is "FMI1.0", then a string specifying location of MsimModel.c file containing Maple specific functions. (Otherwise it is the same as the C file location string.)

– 

String containing the name of the temporary directory into which the above files are generated

– 

FMU architecture ("32" or "64" bit)

– 

String containing the path to the Microsoft Visual Studio compiler (empty string for UNIX-based platforms)

– 

Boolean flag specifying if temporary directory was removed

– 

Boolean flag specifying if the sources directory was removed

– 

String containing the FMI version

– 

String containing the FMU format (ModelExchange or CoSimulation)

See Also

FMIConnector, FMIConnector[CreateArchive], MapleSim


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam