how to programtically add junctions and default transition in state flow and connect them

2 次查看(过去 30 天)
hello, as following shows i want use script to add the defualt transition and two junction, and connect two junctions, add the action label, how to do

采纳的回答

Fangjun Jiang
Fangjun Jiang 2023-8-17
编辑:Fangjun Jiang 2023-8-17
transition = Stateflow.Transition(ch);
transition.Source = [];% this makes it default transition.
transition.Destination = j2;
transition.LabelString = '{xx;yy;zz;}';
  6 个评论

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Complex Logic 的更多信息

产品


版本

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by