This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Code Generation and Deployment

Generate code or standalone executable

After you develop your application with MATLAB® and WLAN Toolbox™, you can generate portable C/C++ source code, standalone executables, or standalone applications from your MATLAB code. With code generation, you can:

  • Speed up code processing while you work in the MATLAB environment.

  • Run your simulation on machines that do not have MATLAB installed.

  • Incorporate your algorithms into legacy code.

The following table compares deployment characteristics of MATLAB Compiler™ and MATLAB Coder™. Use this table to decide how to post process your MATLAB code.

Deployment CharacteristicUsing MATLAB CompilerUsing MATLAB Coder
OutputNonreadable shared libraries that run against MATLAB Runtime librariesPortable and readable C source code that can be compiled into shared libraries
Library dependencyRequires MATLAB RuntimeNone. All toolbox function and System object™ code is visible
Supported platforms for deploymentWindows®, Mac, and Linux®Any platform that supports ANSI®/ISO® C/C++ code
Intellectual property protectionPackaged code is encryptedCode is not encrypted. You can protect your IP by generating shared libraries instead of readable code
Algorithm accelerationSame speed as MATLABPotentially faster, depending on the algorithm
MATLAB graphicsSupportedNot supported

For more information, see Appropriate Tasks for MATLAB Compiler Products (MATLAB Compiler) and Standalone Applications (MATLAB Compiler).


What is C Code Generation from MATLAB?

Introduces WLAN Toolbox code generation support.

Functions and System Objects Supported for MATLAB Coder

List of WLAN Toolbox functions and System objects with code generation support.