Main Content

MATLAB Algorithm Design for GPU

MATLAB® language syntax and functions for code generation

To generate code, GPU Coder™ requires that your MATLAB algorithms be compatible with MATLAB Coder™. To view programming requirements and best practices for MATLAB Coder, see MATLAB Programming for Code Generation.

MATLAB Language Features Support for GPU Coder

Use the MATLAB language capabilities that GPU Coder supports.

Supported Functions

Alphabetical list of MATLAB and toolbox functions that GPU Coder supports.

Language, Function, and Object Support

MATLAB language features, functions, classes, and System objects supported for C and C++ code generation

Data Definition

How defining data for code generation differs from MATLAB

Function Definition

Defining and calling functions for code generation