compile the active MapleSim subsystem into an executable Maple module or generate stand alone C code for the active MapleSim model - MapleSim Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : MapleSim : MapleSim Application Programming Interface : API Commands : MapleSim/LinkModel/GetCompiledProc

GetCompiledProc - compile the active MapleSim subsystem into an executable Maple module or generate stand alone C code for the active MapleSim model

Calling Sequence

A := MapleSim:-LinkModel();

A:-GetCompiledProc(options)

Parameters

options

-

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

Returns

• 

If ccodeonly = false then

– 

Module : an executable Maple module, containing a simulation behavior of linked MapleSim model

– 

See MapleSim[CodeGeneration][CompiledProcedure] for a detailed description of the executable module. See module and module[export] for details on handling Maple modules.

 

• 

If ccodeonly = true then

– 

string : the filename of the generated C procedure

– 

See MapleSim[CodeGeneration][Code] for a detailed description of the generated C procedure.

Examples

See MapleSim[CodeGeneration][Code] and MapleSim[CodeGeneration][CompiledProcedure] for examples.

See Also

MapleSim, MapleSim[LinkModel], MapleSim[LinkModel][GetSettings], MapleSim[LinkModel][Simulate], module, module[export]


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