How do I find stateflow transition valid?

I'm trying to log transition valid like stateflow state.
Stateflow state activation can be logged with signal logging, so I can find the activation of state with specific time.
But it seems that signal logging for transition does not exists.
Is there any way to log transition valid data with time?

回答(1 个)

If you have data associated with the transition, why not just log the data that indicates when the transition occurred? See Configuring States and Local Data for Logging.
(Also, if you haven't tried Stateflow animation yet, you might find it useful to monitor the execution of your chart)

2 个评论

Thank you for the answer. I've already used local data logging, but I need to know which transition is passed with specific time. Local data logging do not help for this. :)
So I presume you don't have data changes associated with your transitions?

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Stateflow 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by