Prebuilt OpenCV interface freezes up

I am using the OpenCV interface for MATLAB. However, when I try to use this example, MATLAB says 'Busy' and freezes up.
import vision.opencv.util.*
[ocvMat,ocvArray] = createMat;
However, if I stop execution and rerun the above code, it works normally. What is throwing MATLAB into an infinite loop when I first use any function from the OpenCV interface?

답변 (1개)

yanqi liu
yanqi liu 2021년 11월 24일

0 개 추천

sir,may be use
[ocvMat,ocvArray] = CreateMat(100, 100);

카테고리

도움말 센터File Exchange에서 Computer Vision Toolbox에 대해 자세히 알아보기

제품

릴리스

R2021b

질문:

2021년 11월 23일

답변:

2021년 11월 24일

Community Treasure Hunt

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

Start Hunting!

Translated by