generates C library procedures from a continuous MapleSim model or a list of equations - MapleSim Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : MapleSim : MapleSim Application Programming Interface : Deprecated Commands : MapleSim/Export(deprecated)

MapleSim[Export(deprecated)] - generates C library procedures from a continuous MapleSim model or a list of equations

Calling Sequence

Export (system, in_vars, out_vars, ModelName, param_opts)

Parameters

system

-

list; model equations

in_vars

-

list; input variables with respect to time

out_vars

-

list; output variables with respect to time

opts

-

(optional) equation(s) of the form option = value; specify options for Export

Returns

• 

string

Description

• 

Important: The Export command has been deprecated.

• 

The Export command returns a string that contains a library of all the necessary C procedures, which allow you to simulate a continuous system using a solver that you provide. Note: The library does not provide solver routines or a main routine to compute the iteration.

  

Before the functions are generated, the system attempts to perform index 1 reduction to obtain an ordinary differential equation (ODE) system to reduce the time required to compute the system.

  

You can generate two types of C library functions. The first type evaluates all of the state and output variables in one procedure. This method makes the code easier to implement; however, you must keep track of the state variables. The second type evaluates the variables in two procedures: one procedure for the state variables and another for the output variables. This method does not require you to keep track of the variables.

  

The input and output variables must be functions with respect to time, for example, y(t) and u(t).

The options parameters are optional parameters of the form option = value, where option is one of the names listed below. These are keyword parameters; the left side of the equation is the keyword and the right side is the value. Each keyword parameter has a default value that is assigned if the parameter is not passed.

See Also

dsolve, 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