Extracting Simulink State Definition (Example 1)

Explores how Simulink defines its states and what you can do once you know that definition.
2.1K Downloads
Updated 1 Sep 2016

View License

The MathWorks receives many questions relating to Simulink state ordering, state initialization, and Simulink solver performance. Many times customers are not aware of existing capabilities that are available and will solve their current issues.
There are 3 MATLAB central submissions (all separate downloads!) that have been used with multiple customers to show current capabilities.

Example 1 : Explores how Simulink defines its states and what you can do once you know that definition.

Example 2 : Explores using the Simulink Debugger to extract information
from a simulink diagram or simulation run.

Example 3 : Explores how to leverage the 'Structure with Time' Simulink data format to alleviate ordering and index issues on inputs/outputs/states.

This script file will show the following:

1) How to interrogate Simulink's state definition
2) leveraging Simulink's state definition to map to your own
3) aligning state definition with eigenvector elements

Cite As

Dan Lluch (2024). Extracting Simulink State Definition (Example 1) (https://www.mathworks.com/matlabcentral/fileexchange/4427-extracting-simulink-state-definition-example-1), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Verification, Validation, and Test in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!

html/

Version Published Release Notes
1.1.0.1

Updated license

1.1.0.0

updated Copyright, added published MATLAB output

1.0.0.0