This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.


Set the TCP/IP port number used by the PIL execution





setPILPort(hwObj,portNumber) sets the TCP/IP port number of the NVIDIA® target board to be used by the processor-in-the-loop (PIL) execution. This value is valid until the hardware object is live.


collapse all

You can configure the port number to be used by PIL on an NVIDIA Jetson hardware from the MATLAB® environment using the setPILPort method of the jetson hardware connection object.

To create a live hardware connection object, provide the host name or IP address, user name, and password of the target board.

hwObj = jetson('','ubuntu','ubuntu');

Input Arguments

collapse all

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

Use the jetson or the drive function to create this connection.

Specify a valid TCP/IP port number on the NVIDIA board to be used by PIL execution.

Example: 17725

Data Types: double

Introduced in R2019a