Simulation Stop time as a constant input to state flow.
1 次查看(过去 30 天)
显示 更早的评论
Hello, I have a stateflow chart with different states in it and i want to input my simulation stop time as a constant for execution of different states in my state flow. how do i do this? I tried what is shown in the image. but i get the shown error.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/154873/image.png)
0 个评论
回答(1 个)
Muthukumar Ganesan
2022-8-10
Hi,
Create a parameter in the workspace as shown in figure and link the parameter inside the constant block
Thanks.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!