Matlab Error "Deletion requires an existing variable."
49 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
回答(1 个)
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!
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!