setPILPort - Set the TCP/IP port number used by the PIL execution - MATLAB (original) (raw)
Set the TCP/IP port number used by the PIL execution
**Add-On Required: This feature requires the MATLAB Coder Support Package for NVIDIA Jetson and NVIDIA DRIVE Platforms add-on.
Syntax
[setPILPort(hwObj,portNumber)](#d126e12582)
Description
setPILPort([hwObj](#mw%5F2e3ef6c5-a674-46b0-b3d6-1d7dea09e09d%5Fsep%5Fmw%5Fbcc65819-faa5-4997-9bca-35a8da7d894a),[portNumber](#mw%5F8d45eb42-abaa-45eb-8a9c-1fa0ddad3c31))
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.
Examples
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('jetson-board-name','ubuntu','ubuntu'); setPILPort(hwObj,17726);
Input Arguments
Connection to a specific NVIDIA hardware board, specified as a jetson or drive object.
Specify a valid TCP/IP port number on the NVIDIA board to be used by PIL execution.
Example: 17725
Version History
Introduced in R2019a
See Also
Functions
- jetson | drive | webcam | getPILPort | getPILTimeout | setPILTimeout
Objects
Topics
- Sobel Edge Detection on NVIDIA Jetson Nano Using Raspberry Pi Camera Module V2
- Processor-in-the-Loop Execution on NVIDIA Targets Using GPU Coder
- Build and Run an Executable on NVIDIA Hardware
- Stop or Restart an Executable Running on NVIDIA Hardware
- Run Linux Commands on NVIDIA Hardware
- Processor-in-the-Loop Execution from Command Line
- Processor-In-The-Loop Execution with the GPU Coder App
- Execution-Time Profiling for PIL