Main Content

gpucoder.installTensorRT

Install NVIDIA TensorRT library in MATLAB

Since R2025a

    Description

    gpucoder.installTensorRT installs the TensorRT library to generate MEX functions or accelerate Simulink® simulations on a GPU by using the NVIDIA TensorRT high performance inference libraries.

    Note there is additional software requirements to generate non-MEX standalone code such as static library, dynamically linked library, or executable program. For more information, see Installing Prerequisite Products and Setting Up the Prerequisite Products.

    example

    Examples

    collapse all

    gpucoder.installTensorRT

    If MATLAB doesn't already have the TensorRT library installed, this command launches the Add-On Installer, where you can install the TensorRT library. MATLAB restarts after installation.

    Version History

    Introduced in R2025a