How to generate the app with MultiPaneSimApp Template

2 visualizzazioni (ultimi 30 giorni)
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

Risposte (1)

Ruchika Parag
Ruchika Parag il 10 Lug 2025
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!

Categorie

Scopri di più su Verification, Validation, and Test in Help Center e File Exchange

Prodotti


Release

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by