How to load data from a .txt file to matlab in the form of a matrix???
8 次查看(过去 30 天)
显示 更早的评论
I am saving data in a .txt file from c++ code which is continuously updating in real time.can i get this real time data loaded in to matrix in matlab in real time?? Please help
6 个评论
Jan
2014-4-1
What do you mean by "real time"? Notice that the file output is buffered usually, such that the file is written in chunks. Then "real time" is not strictly defined.
回答(1 个)
Prateekshya
2024-8-23,3:02
Hello Avinash,
As per my understanding, the dlmread() or readmatrix() function will read the data from a file and store it in a matrix. Please refer to the following documentation for more information on the functions:
I hope this helps!
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Interactive Control and Callbacks 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!