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

4 次查看(过去 30 天)
Hey folks,
is it possible to access/use sldd data within a state chart without using a mask?
Thanks in advance.

采纳的回答

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

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Simulink Functions 的更多信息

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by