User`s guide

Monitoring Signals
13 Click Apply.
14 Bu ild and download the old_sf_car target application to the target PC.
You can now view t h e states w i th xPC T arget Explorer or the MA TLAB
interface.
Monitoring Stateflow States with xPC Target Explorer
This topic assumes that you have already set Stateflow states as test po ints
(see “Monitoring Stateflow States” on page 3-10 if you have not).
1 If the xPC Target Explorer is not yet started, start it now and connect it to
thetargetPCthathasthedownloaded
old_sf_car target application.
2 To v iew the test point in the xPC Target Explorer, expand the
Model Hierarchy node and navigate to shift_logic.Thetestpoint
gear_state.first appears like a ny other signal in the hierarchy, as
follows:
3 Choose the state as you do a signal to monitor.
3-13