getPILPort - Get the TCP/IP port number used by the PIL execution - MATLAB (original) (raw)
Get 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
[portNumber = getPILPort(hwObj)](#d126e5589)
Description
[portNumber](#mw%5Fca98a7f9-e4f5-485b-bf0a-7d4616986837) = getPILPort([hwObj](#mw%5Fb0398b0b-e38d-47a6-a90b-b5415b6ababc%5Fsep%5Fmw%5Fbcc65819-faa5-4997-9bca-35a8da7d894a))
displays the TCP/IP port number used by the processor-in-the-loop (PIL) execution.
Examples
You can check the port number used by PIL on an NVIDIA® Jetson™ hardware from the MATLAB® environment using the getPILPort
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'); getPILPort(hwObj);
ans =
17725
Input Arguments
Connection to a specific NVIDIA hardware board, specified as a jetson or drive object.
Output Arguments
TCP/IP port number used by PIL, returned as a positive integer.
Example: 17725
Version History
Introduced in R2019a
See Also
Functions
- jetson | drive | webcam | getPILTimeout | setPILPort | 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