- 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
1 次查看(过去 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!