You can use the MATLAB® Command Window to stop or restart binary executables that are running on the NVIDIA® hardware.
Create a connection from the MATLAB software to the NVIDIA hardware. In this example, the connection is to a Jetson board and is named
If a connection is already present in the MATLAB Workspace, skip this step.
hwJetson = jetson('192.168.1.15','ubuntu','ubuntu');
hwJetson = jetson with properties: DeviceAddress: '192.168.1.15' Port: 22 BoardName: 'NVIDIA Jetson TX2' CUDAVersion: '9.0' cuDNNVersion: '7.0' TensorRTVersion: '3.0' GpuInfo: [1×1 struct] webcamlist: 
To stop an executable running on the hardware, use the
killApplication function with the connection followed by the name
of the executable. The name of the executable is the same as the name of the model from
which the executable originated. For
To restart the stopped executable, or to run multiple instances of the executable, use
runApplication function. For
### Launching the executable on the target... Executable launched successfully with process ID 26432. Displaying the simple runtime log for the executable...