Having problem in compiling

1 次查看(过去 30 天)
Hello,
I am trying to do the compiling on some graphical user interface program and OCR from the computer vision toolbox. It will finish the compiling and create the project but with error. I receive this error for it.
Compiler version: 6.6 (R2018a) Dependency analysis by REQUIREMENTS.
[Warning: Excluded "C:/Program Files/MATLAB/R2018a/toolbox/vision/vision/+vision/+internal/+buildable/OCRBuildable.m"; reason: The file or function has been excluded from packaging for the "MCR" target environment according to the "Compiler" license. Either remove the file or function from your code, or use the MATLAB function "isdeployed" to ensure the function is not invoked in the deployed component.]
Is there something I should do for my compiling licence? Is there such thing for adding OCR to the compiler licence?
  3 个评论
Walter Roberson
Walter Roberson 2021-12-15
There is no resolution. You have to train the ocr in interactive MATLAB. You can then save the results of training. Then in a second program load the saved results and use them to recognize text. The second program can be compiled.

请先登录,再进行评论。

采纳的回答

Walter Roberson
Walter Roberson 2020-4-14
Computer Vision, Not Supported:
Prebuilt Apps, UIs, and functions, and blocks that don’t support code generation
For example you would get that error if you tried to compile in the OcrTrainer app

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB Compiler SDK 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by