Clear Filters
Clear Filters

Why do I get warning “Import argument "internal.​matlab.imp​orttool.se​rver.Impor​tUtils" ……can not be found” while packaging App Designer app in R2021a?

6 views (last 30 days)
Error while determining required deployable files.Compilation terminated.Details:
错误使用<ahref="matlab:matlab.internal.language.introspective.errorDocCallback('matlab.depfun.internal.MwFileInspector/resolveSymbols','D:\Program Files(x86)\Matlab\R2021a\toolbox\matlab\depfun\+matlab\+depfun\+internal\MwFileInspector.m',302)"style="font-weight:bold">matlab.depfun.internal.MwFileInspector/resolveSymbols</a>(<a href="matlab:opentoline('D:\Program Files(x86)\Matlab\R2021a\toolbox\matlab\depfun\+matlab\+depfun\+internal\MwFileInspector.m',302,0)">302</a>)
MATLAB代码'D:\Program Files(x86)\Matlab\R2021a\toolbox\matlab\datatools\importtool\matlab\peer\+internal\+matlab\+importtool\+peer\uiimportFile.m'中找不到导入参数"internal.matlab.importtool.server.ImportUtils",或无法导入该参数。
mcc失败。

Answers (1)

Akash
Akash on 15 Apr 2024
Hi F Murphy,
You can refer to the MATLAB Central discussion link provided below, which addresses a similar issue. The Import Tool is not supported for code generation. Hence, if your app uses this functionality, it will be necessary to remove it before compilation.
Additionally, if the path mentioned in the error message is pointing to your MATLAB root directory, you may consider a fresh installation of MATLAB.

Categories

Find more on 使用 App 设计工具开发 App 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!