Minor Time Step Logging
by Guy Rouleau
16 Jan 2009
(Updated 21 Apr 2011)
Demonstration showing how to log data computed by the SimulinkĀ® solver at minor time steps.
|
Watch this File
|
| File Information |
| Description |
This submission is an example showing how a Level 2 M-file S-function can be used to help debugging models and vizualize the values computed by the SimulinkĀ® solver at minor time steps.
This submission contains a Level-2 M-file S-function that logs the minor time step data of a signal into the MATLABĀ® workspace and displays it in a figure at the end of the simulation.
The block is in a library and includes an slblocks.m file. Just place it on your MATLAB path and you should see it appear in the Simulink Library Browser. One example model is also included to demonstrate typical usage. |
| Required Products |
Simulink
|
| MATLAB release |
MATLAB 7.8 (R2009a)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 19 Jan 2009 |
- Fixed bug with legend labels
- Changed markers for minor (x) and major (o) |
| 05 Aug 2009 |
Updated example model. |
| 21 Apr 2011 |
added model screenshots |
|
Contact us