View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Extracting Simulink State Definition (Example 1)

Join the 15-year community celebration.

Play games and win prizes!

» Learn more

2.0 | 1 rating Rate this file 0 Downloads (last 30 days) File Size: 5.3 KB File ID: #4427 Version:

Extracting Simulink State Definition (Example 1)


Dan Lluch (view profile)


02 Feb 2004 (Updated )

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

| Watch this File

File Information

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

Required Products Simulink
MATLAB release MATLAB 6.5 (R13)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (1)
28 Feb 2007 MZ CW

The explanation is not as expected

18 Jan 2010 1.1

updated Copyright, added published MATLAB output

01 Sep 2016

Updated license

Contact us