Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Matlab GUI and Arduino sensor data

조회 수: 1 (최근 30일)
asdf asdf
asdf asdf 2015년 9월 15일
마감: Walter Roberson 2015년 9월 15일
I have two questions: 1. How do I use a table in Matlab GUI that continuously takes various sensor data from Arduino? On one column I want it to be the time. 2. How will I continuously display the Arduino sensor data in a static text?
The difference between (1) and (2) is that in (1) all the data are seen or recorded and in (2) the data seen are the real time values.
This is the code I've used in the Matlab:
global a;
i = 0;
while i==0
p=fscanf(a);
set(handles.statictext1,'String',p);
end
Please I need answers! Thanks!

답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by