how to run .mlapp with Runtime?
조회 수: 42 (최근 30일)
이전 댓글 표시
Hi,
I have an .mlapp file, and would like to run using RunTime only.
What should I do?
답변 (1개)
Madheswaran
2025년 1월 22일
Hi Cristiano,
You can use the MATLAB Compiler to package the '.mlapp' file to standalone executable app. Here is steps to achieve the same:
Using MATLAB Application Compiler App:
- Open "Application Compiler" from the "Apps" tab in MATLAB.
- Select "Application (Standalone)" and add your '.mlapp' file.
- Include any additional required files.
- Set application name, description, and output folder.
- Click "Package" to compile the application.
For more information, refer to the following documentation: https://mathworks.com/help/compiler/create-standalone-app-using-application-compiler-app.html
Using command line:
- Ensure your .mlapp and dependencies are in the MATLAB path.
- Run the following command in the command window:
mcc -m yourApp.mlapp
For more information, refer to the following documentation: https://mathworks.com/help/compiler/mcc.html
Hope this helps!
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 MATLAB Compiler에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!