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?

Respuestas (1)

yanqi liu
yanqi liu el 24 de Nov. de 2021

0 votos

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

Productos

Versión

R2021b

Preguntada:

el 23 de Nov. de 2021

Respondida:

el 24 de Nov. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by