You can use the Command Window to stop or restart binary executables that are running on the Intel® SoC hardware.
Create a connection, h
, from the MATLAB® software to the Intel SoC hardware.
If a connection such as h
is already present in the MATLAB Workspace, skip this step.
h = alterasoc;
To stop an executable running on the hardware, use the stopModel
function with h
followed by the name of the executable. For example:
stop(h,'alterasoc_gettingstarted')
....
To restart a stopped executable, or to run multiple instances of an executable, use the runModel
function. For example:
run(h,'alterasoc_gettingstarted')
ans = 1