GetProbes - MapleSim Help

GetProbes

return the probes in the MapleSim model

Parameters

 opts - (optional) equation(s) of the form option = value; specify options for GetProbes

Options

 • sort = true or false
 True means sort the probes lexicographically. The unsorted order matches the declaration order of the probes in the linked model, that is the order used by the Simulate command. The default is true.
 • sortports = true or false
 A synonym for the sort option.

Description

 • A:-GetProbes returns a list of A's probes.
 • The A := MapleSim:-LinkModel() statement needs to be run prior to successfully using any of the ModelObject A's export functions.

Examples

Linking to a MapleSim model (located in .msim file):

 > $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):$

Get the list of probes.

 > $A:-\mathrm{GetProbes}\left(\right)$
 $\left[{\mathrm{Main.Probe1.Vout}}{}\left({t}\right)\right]$ (1)