GetSubstitutions
get variable and parameter substitutions
Calling Sequence
Parameters
Returns
Options
Description
Notes
Examples
A := MapleSim:-LinkModel();
A:-GetSubstitutions(options)
options
-
(optional) equation(s) of the form name = value
set : set of the system's variable and parameter substitutions
reverse : true or false
Specifies whether to return the reverse of the substitutions that are used in other API calls. Default is false.
shortexplicit : true or false
True (the default) means use short names, if possible, for explicit parameters, which are those defined in parameter blocks or, if the selected subsystem is a component, the parameters of the component.
A:-GetSubstitutions returns the substitutions that are applied to variable and parameter names in other API function calls.
The A := MapleSim:-LinkModel() statement needs to be run prior to successfully using any of the ModelObject A's export functions.
If no substitutions have been defined for the system, a set of default substitutions will be returned.
Linking to a MapleSim model (located in .msim file):
Getting the substitutions that are applied to variable and parameter names in other API function calls:
Getting reverse substitutions:
See Also
MapleSim
MapleSim[LinkModel]
MapleSim[LinkModel][SetSubstitutions]
Download Help Document