Having problem in compiling

조회 수: 3 (최근 30일)
faran
faran 2018년 7월 6일
댓글: Walter Roberson 2021년 12월 15일
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
Muhammad Azlan Shah Bin Suhaimi
Im also having the same problem :(
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