MATLAB: Is it possible to set up a test point on the Stateflow Machine-level data in a Simulink model

chart;data store memoryr14sp2stateflowtestpoint

I would like to set up a test point in Stateflow on Machine-level data, similar to the test points that can be added at the chart level or below using the Model Explorer.

Best Answer

The ability to set up a test point on Stateflow Machine-level data in a Simulink model is not available in Stateflow.
As a workaround, instead of using Machine-level data, use the Data Store Memory block in the Signal Routing library in Simulink. Using data store memory is a much more flexible and powerful way of sharing global data between charts.