External application video link to Matlab
이전 댓글 표시
I have a external Borland C builder application (and source code) that I want to link to Matlab. This borland application read a video data of custom hardware and I need to send it to my boss Matlab application.
Also I need also a link back from Matlab to my application to control the hardware.
What is the easiest why to achieve this?
Thanks Hurter
답변 (1개)
Walter Roberson
2013년 1월 23일
0 개 추천
Is the program written to use ActiveX ?
What kind of link were you thinking of? What does the application do with the data once it reads it?
If the code interface can be rewritten into the form of a DLL, then you can use loadlib() and call the routines.
Possibly, though, it might make more sense to recode as a device driver for data acquisition purposes.
댓글 수: 7
Hurter
2013년 1월 23일
Walter Roberson
2013년 1월 23일
MATLAB can convert YUV422 to RGB in the Image Acquisition Toolbox. It might possibly be easiest to connect the USB to the machine MATLAB is running on, and (if necessary) adapt a driver so that MATLAB can see the device as a camera that it can get frames from.
Hurter
2013년 1월 23일
편집: Walter Roberson
2013년 1월 23일
Walter Roberson
2013년 1월 23일
I note that you have opened a new Question on how to deal with structures with bitfields, so the loadlib() issues are probably best handled over there.
Hurter
2013년 1월 25일
카테고리
도움말 센터 및 File Exchange에서 Image Data에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!