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