MATLAB Answers

Auto refresh Matlab on Real TIme Data

34 views (last 30 days)
Dafnik Saril Kumar David
Dafnik Saril Kumar David on 5 Aug 2019
Edited: awezmm on 7 Aug 2019
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.

Answers (1)

awezmm
awezmm on 5 Aug 2019
  2 Comments
awezmm
awezmm on 7 Aug 2019
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.

Sign in to comment.

Products

Community Treasure Hunt

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

Start Hunting!