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.

回答(1 个)

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

类别

帮助中心File Exchange 中查找有关 Decision Logic 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by