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