How to use "inspect" command in compiled code using MATLAB compiler?

조회 수: 2 (최근 30일)
Issue: Cannot able to use the "inspect" command in compiled code using MATLAB compiler.
Purpose: I am using "inspect" command to extract the curve data of the figure whichever the figures displayed on the window. The command is working fine as a MATLAB script whereas the error comes up the same script used as a standalone executable file through MATLAB compiler.
Please find an attachment for error description.

채택된 답변

Walter Roberson
Walter Roberson 2021년 3월 2일
inspect() is a development tool that I would not expect to be compilable .
It does not have an Extended Support section in https://www.mathworks.com/help/matlab/ref/propertyinspector.html
  댓글 수: 2
Steven Lord
Steven Lord 2021년 3월 2일
You can check the mccExcludedFiles.txt log file in the for_testing folder to see if it contains mention of the inspect function. See this documentation page for more information. There's also a PackagingLog.html file created if you use the Application Compiler app (see step 6 on this other documentation page) that may also mention if inspect has been excluded.
Gopinath Karuppannan
Gopinath Karuppannan 2021년 3월 4일
Hello everyone,
Thanks for your answers.
I have contacted Mathworks technical support team regarding this issue. inspect() command is not included in deploytool. It may included in future release.
Thanks

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB Compiler에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by