Having problem in compiling

2 views (last 30 days)
faran
faran on 6 Jul 2018
Commented: Walter Roberson on 15 Dec 2021
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 Comments
Muhammad Azlan Shah Bin Suhaimi
Im also having the same problem :(
Walter Roberson
Walter Roberson on 15 Dec 2021
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.

Sign in to comment.

Accepted Answer

Walter Roberson
Walter Roberson on 14 Apr 2020
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

More Answers (0)

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!