Should I use MATLAB Compiler (SDK) or MATLAB Coder to deploy my MATLAB programs?
136 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
MathWorks Support Team
il 15 Giu 2015
Modificato: MathWorks Support Team
il 17 Lug 2021
Should I use MATLAB Compiler (SDK) or MATLAB Coder to deploy my MATLAB applications?
Risposta accettata
MathWorks Support Team
il 17 Nov 2023
Modificato: MathWorks Support Team
il 17 Lug 2021
MATLAB Compiler enables you to share your MATLAB programs as standalone executables (.exe) that run against a MATLAB Runtime. It supports most of the features in MATLAB, including graphics, and protects your intellectual property by encrypting your MATLAB code.
MATLAB Compiler SDK extends MATLAB Compiler by the ability to provide shared libraries (.dll, .so), so that your MATLAB programs can be packaged into software components for integration with other programming languages.
MATLAB Coder on the other hand, provides readable and portable C source code. It supports a subset of the MATLAB Language focused on algorithms performing numerical computations.
The high-level differences between the two approaches are summarized below:
Frequently asked questions:
Useful links:
3 Commenti
Walter Roberson
il 24 Nov 2020
Modificato: Walter Roberson
il 24 Nov 2020
What output do you get when you use
mex -v -setup C
Walter Roberson
il 2 Set 2021
Spostato: Stefanie Schwarz
il 6 Set 2022
Neither R2014a nor R2014b support using Visual Studio 2019. The newest Visual Studio that either one supported was VS 2013 Professional ( not Community or Express !! )
mex -setup has a limited list of compilers to search for, and it searches for exact versions. It does not look for "the most recent Visual Studios", it looks for those specific Visual Studios.
Over the years, the directory structure of the Visual Studios implementations has changed, so you have to know which version you are working with in order to set up the file names properly.
Più risposte (0)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!