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 ExchangeComputer 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