Main Content

Stop or Restart Executable Running on Intel SoC Platform

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

  1. 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;
    

  2. 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')
    ....
    
    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:

    run(h,'alterasoc_gettingstarted')
    ans =
    
         1