- 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!