Matlab Error "Deletion requires an existing variable."

I'm tring to use matlab code in this article
i got below error
" Deletion requires an existing variable.
Error in TextDetection (line 181) textBBoxes(numRegionsInGroup == 1, :) = []; "
can you help?

답변 (1개)

ag
ag 2024년 7월 9일
Hi Mohamed,
The error message "Deletion requires an existing variable" indicates that the variable "textBBoxes" has not been declared.
To resolve this issue, please ensure that you run all the sections in the specified order as outlined in the example. Rather than executing each section individually, you can run all sections simultaneously by using the "Run" button located under the "Live Editor."
Furthermore, you may use the following command to load the example and ensure that all sections are correctly in place:
openExample('vision/TextDetectionExample') %Internet connection is required
Hope this helps!

카테고리

도움말 센터File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품

태그

질문:

2016년 1월 6일

답변:

ag
2024년 7월 9일

Community Treasure Hunt

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

Start Hunting!

Translated by