After you develop your simulation with MATLAB® and Communications Toolbox™, you can generate C source code or a standalone executable from your MATLAB code to
Speed up processing while continuing to work in the MATLAB environment
Run your simulation on machines that do not have MATLAB installed
Embed your algorithm in hardware
Incorporate your algorithm into legacy code
Use the table to help you decide how to post process your simulation.
|Deployment Characteristic||MATLAB Compiler™||MATLAB Coder™|
|Output||Nonreadable shared libraries||Portable and readable C source code|
|Library dependency||MATLAB Runtime||Dependent on the function, objects and blocks used in your design|
|Supported platforms for deployment||Windows, Mac, and Linux||Any platform that supports ANSI/ISO C/C++ code|
|Intellectual property protection||Packaged code is encrypted||Code is not encrypted; you can protect your IP by generating shared libraries instead of readable code|
|Algorithm acceleration||Same speed as MATLAB||Potential to be faster; depends on algorithm|
|MATLAB graphics||Supported||Not supported|
For an extended table, see Should I use MATLAB Compiler SDK, or MATLAB Coder to integrate my MATLAB application with C/C++?.