Real time data ploting in matlab
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
KSSV
2016-5-31
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Annotations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!