フィルターのクリア

Why I failed to create a standalone application using Application Compiler?

2 ビュー (過去 30 日間)
jiahao tian
jiahao tian 2021 年 8 月 19 日
コメント済み: jiahao tian 2021 年 10 月 2 日
I tried to create a standalone application from the m script below using Application Compiler with the "package options" set to be "runtime downloaded from web", but an error occured during the "package" process.
This is the error.
Failed to create the install agent URL file
File does not exist: D:\Program Files\MATLAB R2021a\VersionInfo.xml
My MATLAB version is R2021a, and my license was bought by my university. How can I remove this error?

採用された回答

Sivani Pentapati
Sivani Pentapati 2021 年 9 月 29 日
From what I have understood, you want to package an application using Application Compiler but are facing issues with agent URL file. One possible root cause of this problem would be antivirus software (Windows Defender or others) preventing the creation of agent URL file, by locking either the resource file, or the installer EXE.
Possible Workarounds
  1. Disable any antivirus software running in the system. Or you can configure the antivirus software to white list the app and the generated installer, magicsquare.exe
  2. Another workaround is compiling the standalone application by using mcc. For more information, please refer to the documentation of mcc to compile MATLAB functions from command line.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by