setPILTimeout - Set the timeout value that PIL uses for reading data - MATLAB (original) (raw)
Set the timeout value that PIL uses for reading data
**Add-On Required: This feature requires the MATLAB Coder Support Package for NVIDIA Jetson and NVIDIA DRIVE Platforms add-on.
Syntax
[setPILTimeout(hwObj,timeVal)](#d126e12766)
Description
setPILTimeout([hwObj](#mw%5Fba011014-5154-48dd-87b0-28b0d98023f7%5Fsep%5Fmw%5Fbcc65819-faa5-4997-9bca-35a8da7d894a),[timeVal](#mw%5F259e7d29-7523-4fb6-a6dd-b01dd16c76d3))
configures the timeout value in seconds to be used by the processor-in-the-loop (PIL) execution for reading data from the NVIDIA® target. This value is valid until the hardware object is live.
Examples
You can configure the timeout value used by PIL for reading data on an NVIDIA Jetson™ hardware from the MATLAB® environment using the setPILTimeout
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'); setPILTimeout(hwObj,100);
Input Arguments
Connection to a specific NVIDIA hardware board, specified as a jetson or drive object.
Specify the timeout value (in seconds) used by PIL for reading data from the target hardware. This value must be positive integer greater than or equal to 30.
Example: 30
Version History
Introduced in R2019a
See Also
Functions
- jetson | drive | webcam | getPILPort | getPILTimeout | setPILPort
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