Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

How Stateflow Logs Multidimensional Data

Stateflow® logs each update to a multidimensional signal as a single change. For example, an update to a 2-by-2 matrix A during simulation is logged as a single change, not as four changes (one for each element):

UpdateIs Logged As
A = 1;A single change, even though the statement implies all A[i] = 1
A[1][1] = 1;
A[1][2] = 1;
Two different changes

Was this topic helpful?