Plotting new data as the data file is appended
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi, I am acquiring electro-chemistry data for a project. The data will be collected on one computer and spooled over to another computer where it will be analyzed by MATLAB. Currently, we analyze all the data after it is all collected, but we would like to do the analytics while the file is still being appended. My thoughts on how to solve this: data is being captured, sent to the MATLAB computer and the computer plots the data, after 5 seconds, MATLAB gets the new appended file, goes to the end of the file and plots the new data, another 5 seconds elapses (this time is somewhat arbitrary at this point), matlab gets the new file and goes to the end of the file and plots the new data, repeat repeat repeat. This seems like a common thing to do, any advice would be greatly appreciated since I am new to the MATLAB world. Is there a certain function I could utilize to make this process easier? Maybe something in the File Exchange that someone knows about. Or maybe you could suggest me another method that would be better, but I am just a beginner on matlab so I don't know too much. Thank you to all willing to help.
댓글 수: 1
Wilson A N
2017년 8월 3일
Can you please specify how you are sending the data.
Are you transferring the data over to the computer and then a MATLAB instance there reads it? Or is the case that you are having an application program that uses MATLAB object to process data in MATLAB?
Also, are you analyzing the whole data file each time you obtain it?
If yes, then I think you use XData and YData to update the plot.
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Simultaneous and Synchronized Operations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!