Prebuilt OpenCV interface freezes up

1 view (last 30 days)
Min seok Kang
Min seok Kang on 23 Nov 2021
Answered: yanqi liu on 24 Nov 2021
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?

Answers (1)

yanqi liu
yanqi liu on 24 Nov 2021
sir,may be use
[ocvMat,ocvArray] = CreateMat(100, 100);

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!