Ploting simulink model data on matlab gui in real time
조회 수: 43 (최근 30일)
이전 댓글 표시
Hi,
There is any way to plot simulink model's data on GUI?
As i understand there is a need for multi threaded structure but matlab does not support such things. (parallel programming toolbox is not sufficient i think)
Might there be any way to achive this with embedding gui in simulink model?
Sorry for unordered question but i could not determine how to ask it ?
댓글 수: 0
답변 (2개)
Ameer Hamza
2020년 11월 10일
It is possible using event listeners. Here is an example: https://blogs.mathworks.com/simulink/2013/01/25/accessing-block-data-during-a-simulation/
댓글 수: 0
Sara Nadeau
2020년 11월 10일
Depending on your use case, the type of data you want to visualize, and the MATLAB version you're using, you may also consider using a data access callback function to visualize the data during simulation. The data access callback is supported starting in R2018b.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Simulink Functions에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!