I want to time my MATLAB program to begin collecting data upon the creation of a file by a separate program. Is this possible?
조회 수: 1 (최근 30일)
이전 댓글 표시
I have software for a project that records data from Device A in realtime. However, the device and its software are incapable of recording another parameter that is of interest to my project. But I have Device B that is compatible with MATLAB and can easily record the additional parameter I want. However, I would like for the Device A software and MATLAB/Device B to begin recording data at the exact same time so that I can later easily match up the data sets for analysis.
The Device A software is unable to communicate with MATLAB as far as I know. The easiest solution I can think of is this: When Device A and its software begins recording data, it immediately creates a new file to store the data.
So I was thinking, I can use MATLAB to scan the appropriate folder for the data file created by Device A. The instant it gets created and MATLAB recognizes the specified file name (indicating that Device A has begun recording data), MATLAB will begin recording data from Device B.
How effective/temporally precise would my proposed solution be?
댓글 수: 0
답변 (1개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Large Files and Big Data에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!