SetSubsystemName
set the active MapleSim subsystem name
Calling Sequence
Parameters
Returns
Description
Notes
Examples
A := MapleSim:-LinkModel();
A:-SetSubsystemName(subsystemname)
subsystemname
-
string ; name of the subsystem
none
A:-SetSubsystemName sets A's active subsystem. An empty string ("") makes the entire model active.
The A := MapleSim:-LinkModel() statement needs to be run prior to successfully using any of the ModelObject A's export functions.
You can also set the active subsystem by using the MapleSim Model component. For more information, see LinkModel.
If an active subsystem contains any multibody components, all of the model's multibody components are considered to be part of the active subsystem.
Linking to a MapleSim model (located in .msim file):
A≔MapleSim:-LinkModel⁡filename=cat⁡kernelopts⁡toolboxdir=MapleSim,/data/examples/RLCcircuit.msim:
Setting the active subsystem to an RLC circuit subsystem:
A:-SetSubsystemName⁡RLC
Getting the active subsystem name:
A:-GetSubsystemName⁡
RLC
See Also
MapleSim
MapleSim[LinkModel]
MapleSim[LinkModel][GetSubsystemName]
MapleSim[LinkModel][ListSubsystems]
Download Help Document