Making sample times visible

1 回表示 (過去 30 日間)
Michael Whalen
Michael Whalen 2013 年 7 月 9 日
Hello,
I'm working on an application in which I have a set of timers in Stateflow. I would like the timers to complete based on the sample rate of the Stateflow block (it is running at the inherited rate from the model). I would like the ability to adjust the model sample rate without touching the Stateflow code. Is there an easy way to do this?
Thank you very much for your time,
Mike

回答 (1 件)

Ryan G
Ryan G 2013 年 7 月 10 日
I may need more details, but it sounds like you could put the stateflow model inside of an atomic subsystem and set the sample rate of the atomic subsytem.
You can also use triggers to activate the chart.

カテゴリ

Help Center および File ExchangeSimulink Functions についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by