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 Coder).
Use the MATLAB language capabilities that GPU Coder supports.
Alphabetical list of MATLAB and toolbox functions that GPU Coder supports.
Language, Function, and Object Support (MATLAB Coder)
MATLAB language features, functions, classes, and System objects supported for C and C++ code generation
Data Definition (MATLAB Coder)
How defining data for code generation differs from MATLAB
Function Definition (MATLAB Coder)
Defining and calling functions for code generation