필터 지우기
필터 지우기

Updating GUI data periodically from a different m-file

조회 수: 1 (최근 30일)
Jeff D.
Jeff D. 2011년 12월 7일
I'm trying to understand how to transfer data periodically from a running m-file to update data in a GUI text edit field. I've tried viewing the GUI help topics, but I'm not finding them easy to understand. Any tips on how to do it or suggested reading would be appreciated.

답변 (1개)

Walter Roberson
Walter Roberson 2011년 12월 7일
  댓글 수: 1
Jeff D.
Jeff D. 2011년 12월 7일
I've been trying to understand that wiki, but I'm not getting anywhere. I can update data in the gui by using a push button, but can't figure out how to create an automatic update. I tried adding a setappdata line such as:
setappdata(hObject,'c',c);
to the OpeningFcn() but to no avail.
Have you actually been able to get GUI data to update automatically without a pushbutton?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Interactive Control and Callbacks에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by