Having problem in compiling

2 vues (au cours des 30 derniers jours)
faran
faran le 6 Juil 2018
Commenté : Walter Roberson le 15 Déc 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 commentaires
Muhammad Azlan Shah Bin Suhaimi
Im also having the same problem :(
Walter Roberson
Walter Roberson le 15 Déc 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.

Connectez-vous pour commenter.

Réponse acceptée

Walter Roberson
Walter Roberson le 14 Avr 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

Plus de réponses (0)

Catégories

En savoir plus sur MATLAB Compiler dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by