Auto refresh Matlab on Real TIme Data

조회 수: 12 (최근 30일)
Dafnik Saril Kumar David
Dafnik Saril Kumar David 2019년 8월 5일
편집: awezmm 2019년 8월 7일
I have a real time data of excel file which updates with respect to encoder data each second, I am able to plot the data in matlab but I have to run(F5) each time to get the updated one. Is there any automated way of refreshing/run(F5) the matlab code rather than infinite loop( the time limit which I can just estimate for my work is 3 hours,). Please let me know if any method available for my issue.

답변 (1개)

awezmm
awezmm 2019년 8월 5일
  댓글 수: 2
Dafnik Saril Kumar David
Dafnik Saril Kumar David 2019년 8월 7일
Thanks for the response., but the above have the excel data linked but the matlab does not change the data. i just want to update the graph with the updated excel data. does the linkdata still work for that. Recently i came to know about the timer function but it has a delay. i dont want the delay. i want to see the real time path.
awezmm
awezmm 2019년 8월 7일
편집: awezmm 2019년 8월 7일
You can use an infinite while loop to continuosly import excel data. Or use the infinite while loop to continuosly check if data has been changed and then import.

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

카테고리

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

제품

Community Treasure Hunt

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

Start Hunting!

Translated by