Is it possible to access/use sldd data within a stateflow without using a mask?

4 views (last 30 days)
Hey folks,
is it possible to access/use sldd data within a state chart without using a mask?
Thanks in advance.

Accepted Answer

Fangjun Jiang
Fangjun Jiang on 19 Jan 2023
Once the SLDD is specified for the model, its data can be used by the whole model. What is the issue?
In Stateflow, add a parameter, specify it as "inherit from Simulink".
  5 Comments
Fangjun Jiang
Fangjun Jiang on 19 Jan 2023
Yes. The auto completion of the variable name is not available in Stateflow. I am verifying it in R2022b.
youjarr
youjarr on 19 Jan 2023
First of all it is working like you said. Thank you very much.
But no, in R2022b the auto completion is not available.
A auto completion would be nice, because this would give some kind of a feedback that the variable was found within the simulink without wating for the "update model".

Sign in to comment.

More Answers (0)

Categories

Find more on Simulink Functions in Help Center and File Exchange

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!