Stop or Restart an Executable Running on NVIDIA Hardware

You can use the MATLAB® Command Window to stop or restart binary executables that are running on the NVIDIA® hardware.

  1. Create a connection from the MATLAB software to the NVIDIA hardware. In this example, the connection is to a Jetson board and is named hwJetson.

    If a connection is already present in the MATLAB Workspace, skip this step.

    hwJetson = jetson('','ubuntu','ubuntu');
    hwJetson = 
      jetson with properties:
          DeviceAddress: ''
                   Port: 22
              BoardName: 'NVIDIA Jetson TX2'
            CUDAVersion: '9.0'
           cuDNNVersion: '7.0'
        TensorRTVersion: '3.0'
                GpuInfo: [1×1 struct]
             webcamlist: []

  2. 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 example:


  3. To restart the stopped executable, or to run multiple instances of the executable, use the runApplication function. For example:

    ### Launching the executable on the target...
    Executable launched successfully with process ID 26432.
    Displaying the simple runtime log for the executable...

See Also

| | | | | | | | |

Related Examples

More About