SetSubsystemName

set the active MapleSim subsystem name

Parameters

 subsystemname - string ; name of the subsystem

Returns

 • none

Description

 • 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.

Notes

 • If an active subsystem contains any multibody components, all of the model's multibody components are considered to be part of the active subsystem.

Examples

 > $A≔\mathrm{MapleSim}:-\mathrm{LinkModel}\left('\mathrm{filename}'=\mathrm{cat}\left(\mathrm{kernelopts}\left('\mathrm{toolboxdir}'=\mathrm{MapleSim}\right),"/data/examples/RLCcircuit.msim"\right)\right):$
 > $A:-\mathrm{SetSubsystemName}\left("RLC"\right)$
 > $A:-\mathrm{GetSubsystemName}\left(\right)$
 ${"RLC"}$ (1)