Main Content

Stop or Restart Executable Running onIntelSoC 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 ashis already present in the MATLAB Workspace, skip this step.

    h = alterasoc;

  2. To stop an executable running on the hardware, use thestopModelfunction withhfollowed by the name of the executable. For example:

    停止(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 therunModelfunction. For example:

    run(h,'alterasoc_gettingstarted')
    ans = 1