Use stateflow to control variant subsystem
1 次查看(过去 30 天)
显示 更早的评论
I want to use stateflow to switch variant subsystem
take a simple example: see attachments , I hope it will operate 'add' subsystem in first 5 sec. then it will operate 'product' subsystem.
How can I do it?
Is it workable?
thank u
0 个评论
回答(1 个)
Shanmukha Voggu
2021-10-1
Hi,
The variant subsystems don't work that way, You can achieve this by generating events from the states of the STATEFLOW chart. And using Function-call Subsystems instead of variant subsystem.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Subsystems 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!