Effacer les filtres
Effacer les filtres

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

2 vues (au cours des 30 derniers jours)
Hey folks,
is it possible to access/use sldd data within a state chart without using a mask?
Thanks in advance.

Réponse acceptée

Fangjun Jiang
Fangjun Jiang le 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 commentaires
Fangjun Jiang
Fangjun Jiang le 19 Jan 2023
Yes. The auto completion of the variable name is not available in Stateflow. I am verifying it in R2022b.
youjarr
youjarr le 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".

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Simulink Functions dans Help Center et File Exchange

Produits


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by