SetParameters
set the parameters of the active MapleSim subsystem
Calling Sequence
Parameters
Returns
Options
Description
Examples
A := MapleSim:-LinkModel();
A:-SetParameters(params)
params
-
list or set of equations of the form name = value
string : name of the linked MapleSim model
noerror : true or false
True means no error is raised if a given parameter does not exist; the missing parameters are ignored. The default is false.
nosubs : true or false
True means name substitutions are not applied to the parameters. Default is false.
A:-SetParameters sets a given value(s) to a specific parameter(s). A warning is given if a parameter with a given name is not found in an active model.
Parameter values are assumed to be given in the units shown in the MapleSim GUI.
The A := MapleSim:-LinkModel() statement needs to be run prior to successfully using any of the ModelObject A's export functions.
Linking to a MapleSim model (located in .msim file):
Getting the parameters of the active subsystem (you are at the top level):
Setting the active subsystem an RLC circuit subsystem:
Getting the parameters of the RLC subsystem:
Reset parameters to the original values:
See Also
MapleSim
MapleSim[LinkModel]
MapleSim[LinkModel][GetParameters]
MapleSim[LinkModel][SetSubsystemName]
Download Help Document