get the name of the linked model
A := MapleSim:-LinkModel();
string : the name of the model to which the ModelObject is linked
A:-GetModel returns the name of the top-level model to which the ModelObject is linked.
If the ModelObject is linked to a model created in MapleSim, the name of the top-level model is usually "Main".
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):
A ≔ MapleSim:-LinkModel⁡'filename'=cat⁡kernelopts⁡'toolboxdir'=MapleSim,/data/examples/RLCcircuit.msim:
Getting the linked MapleSim model name:
Download Help Document
What kind of issue would you like to report? (Optional)
Thank you for submitting feedback on this help document. Your feedback will be used
to improve Maple's help in the future.