This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

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('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: []

  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:

    killApplication(hwJetson,'myAdd')

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

    runApplication(hwjetson,'myAdd')
    ### 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