Minor Time Step Logging

版本 1.3.0.1 (45.5 KB) 作者: Guy Rouleau
Demonstration showing how to log data computed by the Simulink® solver at minor time steps.
3.1K 次下载
更新时间 2016/9/1

查看许可证

编者注: This file was selected as MATLAB Central Pick of the Week

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.

引用格式

Guy Rouleau (2024). Minor Time Step Logging (https://www.mathworks.com/matlabcentral/fileexchange/22695-minor-time-step-logging), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2009a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Prepare Model Inputs and Outputs 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.3.0.1

Updated license

1.3.0.0

added model screenshots

1.2.0.0

Updated example model.

1.1.0.0

- Fixed bug with legend labels
- Changed markers for minor (x) and major (o)

1.0.0.0