Simulation Stop time as a constant input to state flow.
Show older comments
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.

Answers (1)
Muthukumar Ganesan
on 10 Aug 2022
0 votes
Hi,
Create a parameter in the workspace as shown in figure and link the parameter inside the constant block
Thanks.
Categories
Find more on Stateflow in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!