Simulation Stop time as a constant input to state flow.

2 views (last 30 days)
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
Muthukumar Ganesan on 10 Aug 2022
Hi,
Create a parameter in the workspace as shown in figure and link the parameter inside the constant block
Thanks.

Categories

Find more on Complex Logic 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!