transferring output of opencv to malab and processing it real time

조회 수: 5 (최근 30일)
newbie
newbie 2012년 6월 14일
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?

채택된 답변

newbie
newbie 2012년 7월 16일
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!

추가 답변 (1개)

Walter Roberson
Walter Roberson 2012년 7월 15일
Did you run
mex -setup

태그

Community Treasure Hunt

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

Start Hunting!

Translated by