desktop real time appdesigner
조회 수: 1 (최근 30일)
이전 댓글 표시
I'm having an issue like this now, I can't update the data in real-time on axes on AppDesigner in desktop real time external mode? Can I use a timer to read the input and output data in real time and visualize it on AppDesigner?
댓글 수: 2
Aquatris
2024년 1월 23일
편집: Aquatris
2024년 1월 23일
What is real-time for you, 10 Hz, 100 Hz, 10 kHz? Did you check if it is actually feasible to read data in real-time in your app since the app requires some time to perform its operations.
As for the timer, you can use the timer functionality by adding these lines to the startUp function:
app.myTimer = timer("ExecutionMode","fixedRate",...
"Period",1,...
"Name","myAppTimer");
app.myTimer.TimerFcn = @(x,y)app.getMyDataMethod;
답변 (1개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!