Main Content

Stop or Restart Executable Running on BeagleBone Black Hardware

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

  1. Create a connection, h, from the MATLAB® software to the BeagleBone Black hardware.

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

    h = beaglebone_black;

  2. To stop an executable running on the hardware, use the stopModel function with h followed by the name of the executable. For example:

    The name of the executable is the same as the name of the model from which the executable originated.

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

    ans =