Can I call a Matlab function from the workspace in Stateflow?

It does not give compilation error, but seems the function is not really excuted.
I am using 2020a.

Answers (1)

You can call MATLAB functions from the actions of any state or transition or from other functions. For more information, see https://www.mathworks.com/help/stateflow/ug/matlab-functions-in-a-chart.html.

Categories

Find more on Decision Logic in Help Center and File Exchange

Products

Release

R2020a

Asked:

on 19 Aug 2021

Answered:

on 5 Oct 2021

Community Treasure Hunt

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

Start Hunting!