how to acces Matlab workspace from a transition in stateflow?

I have some transitions in Stateflow
On the transition I entered the code:
SR = RadioRequestMode(ml.semaphoreHelperFunc('get_Semaphore_request'));
There is something wrong with this.... When I try to run the model , Stateflow doesn't know that ml is a keyword ...
The same thing works just fine in built in model sf_cdplayer.slx
How can I fix this 'ml.' issue
Best regards

Answers (0)

This question is closed.

Products

Tags

Asked:

on 5 Feb 2015

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!