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

4 visualizaciones (últimos 30 días)
Hey folks,
is it possible to access/use sldd data within a state chart without using a mask?
Thanks in advance.

Respuesta aceptada

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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Simulink Functions en Help Center y File Exchange.

Productos


Versión

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by