Main Content

Acceleration and Deployment

Workflows to help you accelerate your code and to help you generate standalone applications for desktop computers and embedded targets

Communications Toolbox™ includes functions that can execute on a Graphics Processing Unit (GPU) to speed up your code while prototyping. After you develop your application using Communications Toolbox features, you can generate portable C/C++ source code, standalone executables, or standalone applications from your MATLAB® code. With code generation, you can:

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

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

  • Incorporate your algorithms into legacy code.

This table compares deployment characteristics of MATLAB Compiler™ and MATLAB Coder™ functionality. Use this table to decide how to deploy your MATLAB code or Simulink model.

Deployment CharacteristicUsing MATLAB Compiler FunctionalityUsing MATLAB Coder Functionality
OutputNonreadable shared libraries.Portable and readable C source code.
Library dependencyMATLAB Runtime.

None.

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.

Potentially faster, depending on the algorithm.

MATLAB graphicsSupported.Not supported.

Categories

Featured Examples