| Contents | Index |
elist m:mid [tid:TID] elist <gcs | s:sysIdx> [mth] [tid:TID] elist <gcb | sysIdx:blkIdx> [mth] [tid:TID]
el
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 (sysIdx:blkIdx) of the block instance on which the method is invoked
The 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 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 <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.

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |