Model
Model ElementModel is the container for all objects of a simulation.
Class Name
Model
Description
It is equipped with several methods that enable you to perform actions on the model.
Attribute Summary
Name | Property | Modifiable by Command? |
---|---|---|
output | String |
Usage
Model (output=string)
Attributes
- output
- String
Example
myModel = Model (output="Stewart-Platform")
Methods
simulate | Performs a simulation |
control | Invokes a user-written function (default=CONSUB) to drive the simulation |
save | Save the complete state of a simulation into an XML file |
reload | Reload complete state of a simulation at a specific time from a SAVE file |
reset | Resets the simulation time to zero and prepares solver for a brand new run |
generate_abcd | Generates a state space representation of the model in the form of state matrices A, B, C, and D in the desired format ('matlab' or 'simulink_mdl') |
generateOutput | Invokes an external executable that creates plt and animation h3d file |
generate_eigensolution | Performs an eigen analysis of the model, generates eigenvalues and mode shapes |