Clear Filters
Clear Filters

Matlab Error "Deletion requires an existing variable."

30 views (last 30 days)
Mohamed hussien
Mohamed hussien on 6 Jan 2016
Answered: ag on 9 Jul 2024 at 7:31
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?

Answers (1)

ag
ag on 9 Jul 2024 at 7:31
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!

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!