C/C++ Code Generation Generate C and C++ code using MATLAB® Coder™.
Usage notes and limitations:
Generates an error during simulation and returns南in generated code when the input valueXis real, but the output should be complex. To get the complex result, make the input value complex by passing incomplex(x)。
GPU Code Generation Generate CUDA® code for NVIDIA® GPUs using GPU Coder™.
Usage notes and limitations:
Generates an error during simulation and returns南in generated code when the input valueXis real, but the output should be complex. To get the complex result, make the input value complex by passing incomplex(X)。
GPU数组 Accelerate code by running on a graphics processing unit (GPU) using Parallel Computing Toolbox™.
Usage notes and limitations:
If the output of the function running on the GPU can be complex, then you must explicitly specify its input arguments as complex.有关更多信息,请参阅Work with Complex Numbers on a GPU(Parallel Computing Toolbox).