External application video link to Matlab
Mostrar comentarios más antiguos
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
Respuestas (1)
Walter Roberson
el 23 de En. de 2013
0 votos
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 comentarios
Hurter
el 23 de En. de 2013
Walter Roberson
el 23 de En. de 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
el 23 de En. de 2013
Editada: Walter Roberson
el 23 de En. de 2013
Walter Roberson
el 23 de En. de 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
el 25 de En. de 2013
Categorías
Más información sobre Image Data en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!