Real time data ploting in matlab
1 view (last 30 days)
Show older comments
Hello everyone
I have a nx1 matrix which i have plotted. On same plot i want to plot a real time data. Can anyone suggest a method to do it.
Regards Rudraksh
2 Comments
Answers (1)
KSSV
on 31 May 2016
FileInfo = dir('YourFileWithExtention');
TimeStamp = FileInfo.date;
The above code gives information about your file. You track the TimeStamp, once the file gets updated/ new data added into it, the timestamp changes; then you can read the uploaded data and plot in MATLAB figure to the existing plot.
0 Comments
See Also
Categories
Find more on 2-D and 3-D Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!