- Go to the Apps tab in MATLAB.
- Select Application Compiler.
- In the app, add your Simulink model and configure your build options.
How to generate the app with MultiPaneSimApp Template
조회 수: 2 (최근 30일)
이전 댓글 표시
I want to use f14_mod example for generating app with MultiPaneSimApp Template.
I'm try to follow the example

but I ca't get such option

댓글 수: 0
답변 (1개)
Ruchika Parag
2025년 7월 10일
Hi @Jack Daniels, if you're looking to export your Simulink model as a standalone application, make sure you're using the Simulink Compiler product. This allows you to build a standalone executable that can run without a full MATLAB installation (just the MATLAB Runtime is needed). Here's how you can do it:
1. Check for Simulink Compiler:
First, confirm that Simulink Compiler is installed and licensed:
license('test', 'Simulink_Compiler')
If it returns 1, you're good to go. If not, you'll need to install or activate the product.
2. Prepare the Model:
If your model uses variants or needs configuration for deployment, run:
simulink.compiler.configureForDeployment('your_model_name')
3. Build the Standalone Application
Use the compiler.build.standaloneApplication function:
compiler.build.standaloneApplication('your_model_name.slx');
This generates a standalone .exe (on Windows) or platform-appropriate executable that you can run with MATLAB Runtime.
4. Using the App:
You can also use the Application Compiler App:
5. Run with MATLAB Runtime:
The output executable runs independently, but you must install the MATLAB Runtime that matches your MATLAB version. You can download it from: https://www.mathworks.com/products/compiler/matlab-runtime.html
Hope it helps!
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Verification, Validation, and Test에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!