how to run .mlapp with Runtime?

42 Ansichten (letzte 30 Tage)
Cristiano Gallep
Cristiano Gallep am 4 Mai 2022
Beantwortet: Madheswaran am 22 Jan. 2025
Hi,
I have an .mlapp file, and would like to run using RunTime only.
What should I do?

Antworten (1)

Madheswaran
Madheswaran am 22 Jan. 2025
Hi Cristiano,
You can use the MATLAB Compiler to package the '.mlapp' file to standalone executable app. Here is steps to achieve the same:
Using MATLAB Application Compiler App:
  • Open "Application Compiler" from the "Apps" tab in MATLAB.
  • Select "Application (Standalone)" and add your '.mlapp' file.
  • Include any additional required files.
  • Set application name, description, and output folder.
  • Click "Package" to compile the application.
Using command line:
  • Ensure your .mlapp and dependencies are in the MATLAB path.
  • Run the following command in the command window:
mcc -m yourApp.mlapp
For more information, refer to the following documentation: https://mathworks.com/help/compiler/mcc.html
Hope this helps!

Kategorien

Mehr zu MATLAB Compiler finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by