OpenCV file not found

조회 수: 3 (최근 30일)
RoboTomo
RoboTomo 2022년 4월 20일
답변: Milan Padhiyar 2022년 4월 26일
In the tutorial https://www.mathworks.com/help/supportpkg/robotmanipulator/ug/simulate-detect-and-pick-opencv-rbt-example.html, I get error "File 'detectObjectOCV.cpp' not found". Where can I find that file?

답변 (1개)

Milan Padhiyar
Milan Padhiyar 2022년 4월 26일
Hello,
The reason you are getting error is might be because by default that folder is not added in the MATLAB path. You can run line number 82 to 84 from the example and then you can try running below command to open this file.
>> open detectObjectOCV.cpp
You can also use below command to go to the support package root location where you can find this source file.
>> dirFullPath = fullfile(codertarget.robotmanipulator.internal.getSpPkgRootDir,'robotmanipexamples','opencv_mex');
>> cd(dirFullPath)
Please try the mentioned steps and let us know if you are still facing any issues.
Thanks

카테고리

Help CenterFile Exchange에서 Code Generation, GPU, and Third-Party Support에 대해 자세히 알아보기

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by