Main Content

ev3.killProcess

Stop model running on EV3 hardware

Add-On Required: This feature requires the Simulink Support Package for LEGO MINDSTORMS EV3 Hardware add-on.

Description

ev3.killProcess(modelname) stops the model running on the EV3 hardware. This is equivalent to pressing the Back button on the EV3 hardware.

example

Examples

collapse all

After running a model on the EV3 hardware, you can stop the model using the Command Window on your host computer.

ev3.killProcess('ev3_gettingstarted')

When the EV3 displays: Done. Press <Back> to return, press the Back button on the EV3 hardware.

Input Arguments

collapse all

Name of model running on EV3 hardware, specified as a character vector.

Example: 'ev3_gettingstarted'

Data Types: char

Version History

Introduced in R2014a