MATLAB Application Compiler/Stand Alone Application

6 visualizaciones (últimos 30 días)
Hello!
I am a little confused after reading some app compiler documentation and have a quick question. I have a program that utilizes simulink, image acquistion toolbox, and app designer. I want to turn this into a standalone application to be able to run it on computers that DO NOT have MATLAB. Will using the MATLAB compiler's application compiler only run on computers with MATLAB? Or after the .exe file is made can it run on computers without it?
Would it be best to convert it all to C++ code to be able to run it on any computer?
Thanks so much for the help!
Best,
Sebastian Caceres

Respuesta aceptada

Swetha Polemoni
Swetha Polemoni el 19 de Abr. de 2021
Hi
As mentioned in Standalone Applications documentation you can run MATLAB code on target machines that do not have MATLAB installed. But you need to have MATLAB Run time installed. MATLAB® Runtime contains the libraries needed to run MATLAB applications on a target system without a licensed copy of MATLAB.
Follow this documentation Install and Configure MATLAB Runtime for the steps to follow.
To generate c/c++ code one should check for what are all the functions in the tool box that are supported by codegen. Here is the link to check.

Más respuestas (0)

Categorías

Más información sobre C Code Generation en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by