Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

How to refer to an object inside of a chart stateflow with shorter name?

조회 수: 2 (최근 30일)
CLEBER ALBERT
CLEBER ALBERT 2018년 11월 27일
마감: MATLAB Answer Bot 2021년 8월 20일
Hi there!
In my model there is a chart where it has an input and output both the DataType are Bus: <object_name> created in bus editor.
Capture.PNG
Inside the chart there are many states that accesses the objetecs inside the scructe:
Capture2.PNG
My questions is - There is any way to refer such elements in the bus (reading and writing) without explicite the full name with .dots every time?
i.e, in the block 'doit' in the figure above, insteand use somehing like this:
entry: OutActiveStartSingleDemonstration01_Enable = OutActiveStartSingleDemonstration01_Enable;
entry: OutActiveStartSecureIdle_Enable = InActiveStartSecureIdle_Enable

답변 (0개)

제품


릴리스

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by