coder.checkGpuInstall
R2026bVerify GPU code generation environment
Description
checks whether your environment has tools and libraries for GPU code generation. The
configuration results = coder.checkGpuInstall(cfg)cfg is a coder.gpuEnvConfig object. The coder.checkGpuInstall
function performs the checks that you enable in the cfg object.
By default, the checks run on the host computer with MATLAB®. You can also configure the checks to run on NVIDIA® Jetson™ or NVIDIA DRIVE® devices.
Before using this function, install and set up the required prerequisite third-party compilers, libraries, and tools. For more information, see Installing Prerequisite Products and Setting Up the Prerequisite Products.
Examples
Input Arguments
Output Arguments
Alternative Functionality
App
Use the GPU Environment Check app to verify that your environment has third-party libraries and tools for GPU code generation.
Version History
Introduced in R2017b