フィルターのクリア

Could not find the header file of the external sharded DLL library

1 回表示 (過去 30 日間)
Corey
Corey 2022 年 8 月 26 日
回答済み: Suman Sahu 2023 年 2 月 13 日
I am trying to generate a standalone application using App Designer in MATLAB 2022A. However, received the given error when I try to open the '.exe' which generated from the appdesigner.
I have tried a few methods, however, none of them are working:
  1. addpath
  2. manually copy all '.dll' and '.h' file into the same folder with the file 'AMConfigToolApp.mlapp'
Error message:
Could not find file AMConfigLib.h, Error in=>AMConfigToolApp.mlapp at line 3194.
Any idea?

採用された回答

Suman Sahu
Suman Sahu 2023 年 2 月 13 日
The error message "Could not find file AMConfigLib.h" suggests that the standalone application is unable to locate a required header file.
Since you have tried adding the path as well as copying all required dll and header files to the same folder as the standalone application. You can use the App Designer’s packaging feature to package the required files with the standalone application.
To do this,
  1. go to the "Publish / Share" tab in App Designer.
  2. Select "Create Standalone Application".
  3. In the "Create Standalone Application" dialog, go to the “Files required by your application to run”.
  4. Add the required files.
This will ensure that the required files are included with the standalone application when it is built.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDevelop Apps Using App Designer についてさらに検索

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by