ListSubsystems
list subsystems defined in the linked model
Calling Sequence
Parameters
Returns
Options
Description
Examples
A := MapleSim:-LinkModel();
A:-ListSubsystems(options)
options
-
(optional) equation(s) of the form name = value
list of strings : list of subsystem names
localonly : true or false
Specifies whether to return subsystems that are defined only locally in the model. If localonly = false then the names of all submodels are also returned. Default is true.
A:-ListSubsystems returns the names of the subsystems defined in the linked model.
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):
Listing subsystems defined in the model:
Listing all subsystems in the model:
See Also
MapleSim
MapleSim[LinkModel]
MapleSim[LinkModel][GetSubsystemName]
MapleSim[LinkModel][SetSubsystemName]
Download Help Document