External application video link to Matlab
Ältere Kommentare anzeigen
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
Antworten (1)
Walter Roberson
am 23 Jan. 2013
0 Stimmen
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 Kommentare
Hurter
am 23 Jan. 2013
Walter Roberson
am 23 Jan. 2013
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
am 23 Jan. 2013
Bearbeitet: Walter Roberson
am 23 Jan. 2013
Walter Roberson
am 23 Jan. 2013
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
am 25 Jan. 2013
Kategorien
Mehr zu Image Data finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!