elist
List simulation methods in order in which they are executed during simulation
Syntax
elist el elist m:mid
[tid:TID
] elist <gcs | s:sysIdx
> [mth
] [tid:TID
] elist <gcb |(taskIdx)sysIdx
:blkIdx
> [mth
] [tid:TID
] elist [modelName
] <(taskIdx)sysIdx
:blkIdx
>
Description
Instead of elist
, you can use the short form of el
with any of the syntaxes.
elist
m:
mid
lists the methods invoked by the system or nonvirtual subsystem method corresponding to the
method id mid
(see the where
command for information on method IDs), e.g.,
The method list specifies the calling method followed by the methods that it calls in the order in which they are invoked. The entry for the calling method includes
The name of the method
The name of the method is prefixed by the type of system that defines the method, e.g., RootSystem.
The name of the model or subsystem instance on which the method is invoked
The ID of the task that invokes the method
The entry for each called method includes
The ID (
(taskIdx)sysIdx
:blkIdx
) of the block instance on which the method is invokedThe block ID is prefixed by a number specifying the system that contains the block (the
sysIdx
). This allows Simulink® software to assign the same block ID to blocks residing in different subsystems.The name of the method
The method name is prefixed with the type of block that defines the method, e.g., Integrator.
The name of the block instance on which the method is invoked
The task that invokes the method
The optional task ID parameter (tid:
TID
) allows you to restrict the displayed lists to
methods invoked for a specified task. You can specify this option only for system or atomic
subsystem methods that invoke Outputs or Update methods.
elist <
gcs
|
s:
sysIdx>
lists the methods
executed for the currently selected system (specified by the gcs
command)
or the system or nonvirtual subsystem specified by the system ID
sysIdx
, e.g.,
The system ID of a model's root system is 0. You can use the debugger's systems
command to determine the system IDs of a model's subsystems.
Note
The elist
and where
commands use block IDs to
identify subsystems in their output. The block ID for a subsystem is not the same as the
system ID displayed by the systems
command. Use the elist
(taskIdx)sysIdx
:
blkIdx
form of the elist
command to display the methods of a subsystem whose
block ID appears in the output of a previous invocation of the elist
or
where
command.
elist m:
displays
the system execution list(s) identified by the system method, mid
[tid:TID
]mid
and
tid
.
elist <
gcs
|
s:
sysIdx>
mth
lists methods of type
mth
to be executed for the system specified by the
gcs
command or the system ID sysIdx
,
e.g.,
Use elist
gcb
to list the methods invoked by the nonvirtual subsystem
currently selected in the model.
elist m:
displays
the system execution list(s) identified by the system method, mid
[tid:TID
]mid
and
tid
.
elist [
displays the system execution
list(s) identified by the subsystem block modelName
] <
(taskIdx)sysIdx
:blkIdx
>((taskIdx)sysIdx:blkIdx)
, method,
mth
, and tid
in the referenced model identified by
modelName
.
elist <gcb |
displays
the system execution list(s) identified by the subsystem block(taskIdx)sysIdx
:blkIdx
> [mth
]
[tid:TID
]
((taskIdx)sysIdx:blkIdx)
, method, mth
, and
tid
.