transferring output of opencv to malab and processing it real time

2 visualizzazioni (ultimi 30 giorni)
I have a c code to track a color in a video and print its coordinates. I want to redirect this output to matlab. I tried running the example mex files which come with matlab but it says "cant compile mex.cpp" and "cant create mex.mxw32" any idea on how to proceed?

Risposta accettata

newbie
newbie il 16 Lug 2012
Yes,I was not getting it after running the mex set-up. I had to change the file name to ".c" from ".cpp" to get around with this error. Thanks for replying though!

Più risposte (1)

Walter Roberson
Walter Roberson il 15 Lug 2012
Did you run
mex -setup

Tag

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by