- go to the "Publish / Share" tab in App Designer.
- Select "Create Standalone Application".
- In the "Create Standalone Application" dialog, go to the “Files required by your application to run”.
- Add the required files.
Could not find the header file of the external sharded DLL library
조회 수: 2 (최근 30일)
이전 댓글 표시
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:
- addpath
- 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?
댓글 수: 0
채택된 답변
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,
This will ensure that the required files are included with the standalone application when it is built.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!