data transfer from M-file to GUI

조회 수: 1 (최근 30일)
Vijay Nahar
Vijay Nahar 2013년 6월 7일
I have written a GUI in order to control/process/display data from a number of test equipment. I wish to write the majority of the code on a seperate m-file and use the GUI for the user input/output functions. How can I transfer data from the m-file, in real time to the GUI, to display. My aim is for the GUI to update each data point on a graph, as soon as the data point is recieved and processed by a seperate m-file script.

채택된 답변

Jan
Jan 2013년 6월 7일
You can add a callback to the code of the GUI, which reacts to calls from your M-file. For a detailed answer it matters if you use GUIDE or create the GUI programmatically.

추가 답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by