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.
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;
To stop an executable running on the hardware, use the
stopModel
function withh
followed by the name of the executable. For example:stopModel(h,'beaglebone_gettingstarted')
The name of the executable is the same as the name of the model from which the executable originated.....
To restart a stopped executable, or to run multiple instances of an executable, use the
runModel
function. For example:runModel(h,'beaglebone_gettingstarted')
ans = 1