Should I use MATLAB Compiler (SDK) or MATLAB Coder to deploy my MATLAB programs?
547 views (last 30 days)
Show older comments
Should I use MATLAB Compiler (SDK) or MATLAB Coder to deploy my MATLAB applications?
Accepted Answer
MathWorks Support Team
on 17 Jul 2021
Edited:MathWorks Support Team
on 17 Jul 2021
MATLAB Compilerenables 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 Coderon the other hand, provides readable and portable C source code. It supports asubset of the MATLAB Languagefocused on algorithms performing numerical computations.
The high-level differences between the two approaches are summarized below:
Frequently asked questions:
Useful links:
6 Comments
More Answers (1)
saqib anwaar
on 2 Sep 2021
Im also facing trouble rwgarding make peocess. Im using matlab 2014 and windows10, when i build my realtime simulink block , it returns error doesnt make Nmake is not recognized as internal or external commake... Make found an error 9009. I installed visulal. studio 2019 and sdk for windows 10 but still getti g the same response.
Mex-setup command selects winlcc32 xompiler but setup CC command response NO COMPILERS FOUND
How to solve this issue ?
1 Comment
Walter Roberson
on 2 Sep 2021
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
寻找“最近的视觉工作室”,它看起来s 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.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!