Real time plotting for MATLAB GUI in App Designer

조회 수: 41 (최근 30일)
Kuang-Ting Hsueh
Kuang-Ting Hsueh 2023년 2월 9일
답변: Smit 2023년 2월 10일
I have created a MATLAB App Designer GUI that have plots within it that needs to be updated once the user enters the parameter.
The original simulation code is here:
In here the pop up plots within the simulation are updated in real time. The plot is being plotted in the FD_BPM file within the +BPMmatlab and @model folder. Is there a way to have the plot from there be shown in real time (live update) on the GUI from App Designer.

답변 (1개)

Smit
Smit 2023년 2월 10일
Hi,
I understand you want to add a plot with live updates in MATLAB App Designer.
One way to achieve this could be to use the “animatedline” function to create a plot which can update as you go.
For more information you can visit the documentation page for “animatedline”.
Hope this helps!

카테고리

Help CenterFile Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by