simulation - Display time for specific event in simulink/stateflow -


i trying time @ specific condition in simulation occurs. specifically, in simulink model comparing 2 inputs , need save workspace time @ equal each other. appreciated!

you can following 2 steps:

  1. inside triggered subsystem, put clock block feeding directly workspace block. make subsystem rising edge triggered.
  2. outside triggered subsystem, compare 2 signals, , feed comparison trigger port.

the times @ comparison true written (as vector) specified workspace variable.


Comments

Popular posts from this blog

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - Chrome Extension: Interacting with iframe embedded within popup -