How to generate the app with MultiPaneSimApp Template

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

回答 (1 件)

Ruchika Parag
Ruchika Parag 2025 年 7 月 10 日

0 投票

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:
  • Go to the Apps tab in MATLAB.
  • Select Application Compiler.
  • In the app, add your Simulink model and configure your build options.
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!

カテゴリ

ヘルプ センター および File Exchange で Simulink Compiler についてさらに検索

製品

リリース

R2024b

質問済み:

2025 年 7 月 8 日

回答済み:

2025 年 7 月 10 日

Community Treasure Hunt

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

Start Hunting!

Translated by