data acquisition from a custom system
이전 댓글 표시
I have a custom data acquisition system that captures the pressures. The system is managed from a program made in Visual C++. I would like to send to matlab captured data updating in real time the workspace of matlab variables. I wish it were possible to simultaneously work in matlab. How can I do?
답변 (1개)
Walter Roberson
2016년 9월 26일
0 개 추천
A third approach would be to use mmap() to share a file between two programs.
댓글 수: 3
Gianluca Capuano
2016년 9월 27일
Walter Roberson
2016년 9월 27일
(The mmap() name I used comes from the underlying Unix/Linux system call http://man7.org/linux/man-pages/man2/mmap.2.html; it looks like the corresponding MS Windows call might be CreateFileMapping)
Walter Roberson
2016년 9월 27일
If you need MATLAB to be "managed" from a different program, with the "ENTIRE FULL ORIGINAL MATLAB PROGRAM" available, then you will need to use Java Robot Class to send keypresses and mouse clicks to MATLAB to imitate a user sitting in front of the machine. That approach is, however, not compatible with updating in "real time".
The engPutVariable() and PutWorkspaceData methods are related to the parts of MATLAB that can be remote controlled efficiently.
카테고리
도움말 센터 및 File Exchange에서 Matrox Hardware에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!