What is the best way to implement Class Diagrams in Simulink&Stateflow ? What is the equivalent of classes representation in Stateflow?
3 次查看(过去 30 天)
显示 更早的评论
Hey Matlab Community,
What is the best way to implement Class Diagrams in Simulink&Stateflow ?
What ist the equivalent of classes representation in Stateflow?
I want to create several instances of the same object for example: Instance green, red and yellow of the object SMLamp which also includes a StateMachine. Each of the 4 blocks in the following image also includes a StateMachine.
My task is to transform this UML class based model in the Stateflow &Simulink environment.
SMTrafficLight - Block
SMLamp -Block
0 个评论
回答(1 个)
sam0037
2016-4-13
Hi,
This link talks about Hybrid Software Development with Simulink and UML Tools. This video might be a good starting point to approach this issue.
Hope this helps. All the best!!!
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simulink Functions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!