When to Generate Code from MATLAB Algorithms - MATLAB & Simulink (original) (raw)

Main Content

Generating code from MATLAB® algorithms for desktop and embedded systems allows you to perform your software design, implementation, and testing completely within the MATLAB workspace. You can:

When Not to Generate Code from MATLAB Algorithms

Do not generate code from MATLAB algorithms for the following applications. Use the recommended MathWorks® product instead.

To: Use:
Deploy an application that uses handle graphics MATLAB Compiler™
Use Java® MATLAB Compiler SDK™
Use toolbox functions that do not support code generation Toolbox functions that you rewrite for desktop and embedded applications
Deploy MATLAB based GUI applications on a supported MATLAB host MATLAB Compiler
Deploy web-based or Windows® applications MATLAB Compiler SDK
Interface C code with MATLAB MATLAB mex function