Main Content


Show diagram of GPIO pins

Since R2021b

    Add-On Required: This feature requires the MATLAB Coder Support Package for NVIDIA Jetson and NVIDIA DRIVE Platforms add-on.



    showPins(hwobj) displays a diagram of the digital input and output pins on the NVIDIA® hardware. The diagram is a high-resolution MATLAB® figure that supports zooming and panning.


    collapse all

    You can display a diagram with the name or purpose and location of each GPIO pin on your NVIDIA Jetson™ development board.

    Show the location of the pins.

    hwobj = jetson;

    J21 header pinout of Jetson TX2 development board

    Input Arguments

    collapse all

    Connection to a specific NVIDIA hardware board, specified as a jetson object.

    Version History

    Introduced in R2021b