Simulation Stop time as a constant input to state flow.

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)

Hi,
Create a parameter in the workspace as shown in figure and link the parameter inside the constant block
Thanks.

Categories

Community Treasure Hunt

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

Start Hunting!