Page 864 - ExtendSim User Guide
P. 864

838 Menu Commands and Toolbars
Run menu
Debugging
This hierarchical menu lets you modify the way your sim- ulation runs and facilitates finding a modeling problem. The three “Step...” commands in this menu determine how the Step command in the Run menu performs during a simulation run. The Trace commands are used to gener- ate a Trace file of the values for each selected block in the active model at each step of the simulation. For debug- ging hints, see “Animation features for debugging” on page 724.
Pause At Beginning
If this is enabled, pauses the simulation after it starts so that the user can step through the run from step zero. When the simulation is paused, the word Paused appears in the model’s status bar.
Step Each Block
Controls the behavior of the Step command or button so that you can step through a simulation block by block. This command is only active when the Pause command or Pause button have been activated.
Step Next Animation
Debugging menu
Controls the behavior of the Step command or button so that you can step through a simula- tion, pausing only at animation changes. In models where there are many steps between anima- tion changes, this option makes going from visible change to visible change much faster. This command is only active when the Pause command or Pause button have been activated.
Step Entire Model
Controls the behavior of the Step command or button so that you can step through an entire cycle of all blocks in the model. Each Step command starts at the selected block and continues the simulation run until the execution order returns to the original block. This command is only active when the Pause command or Pause button have been activated.
Show Block Messages
Used in conjunction with the preceding Step Each Block, Step Next Animation, or Step Entire Model commands to show system messages on the blocks. When you are stepping through a simulation and choose Run, the simulation automatically pauses between step cycles (defined by the three preceding commands.) This command causes the block that is active to be high- lighted with the current message name written on it. If that block is not currently visible, the window will automatically scroll to the block if Scroll To Messages (see below) is checked. Block messages are discussed “Block to block messages” on page 613.
Only Simulate Messages
When the Show Block Messages command is active, causes only the messages that occur during the Simulate stage of the run to be shown. This saves time by not showing all the initial and final messages.
Appendix


































































































   862   863   864   865   866