필터 지우기
필터 지우기

Display the information of variables in Matlab (Stateflow) by mouseover

조회 수: 2 (최근 30일)
Patrick Haberzettl
Patrick Haberzettl 2021년 12월 2일
답변: Dhruv 2024년 5월 24일
Hello everybody,
I got a question about a Matlab project using Stateflow/Simulink.
The project is quite big and we use plenty variables named like the i/o at the SPS (e.g E_0_5) or something like that.
In the Symbols table I can use the property inspector and connect a description to the variables (e.g. the E_0_5 being the Start-Button). Unfortunatly the description is not showed in stateflow unless I go into the properties again. Is there any chance to enable that a mouseover on a variable in stateflow does show the description or something like that?
Thanks in advance!
HaPa

답변 (1개)

Dhruv
Dhruv 2024년 5월 24일
Hi Patrick,
I believe there is currently no option to enable a mouseover feature to display variable descriptions directly within the Stateflow diagram. However, there are several alternative strategies you might consider to simplify your workflow:
  1. Opt for clear and descriptive names for your variables instead of using cryptic or abbreviated terms. This practice will help make your model more readable and self-explanatory.
  2. Incorporate text annotations in your Stateflow chart to help explain the purpose and role of significant variables. This can serve as a direct form of documentation within the diagram.
  3. Also, for a comprehensive overview of your variables, including their descriptions, the 'Model Explorer' in Simulink is an excellent tool. It allows you to view all symbols and their descriptions in one single interface.
Hope this will be helpful!

카테고리

Help CenterFile Exchange에서 Complex Logic에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by