MATLAB Application Compiler/Stand Alone Application

6 次查看(过去 30 天)
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

采纳的回答

Swetha Polemoni
Swetha Polemoni 2021-4-19
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.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB Compiler SDK 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by