Main Content


Remove a Simulink model from Run-on-boot

Add-On Required: This feature requires the Simulink Support Package for Raspberry Pi Hardware add-on.



removeRunOnBoot(raspPiObj) removes the Simulink® model from Run-on-boot.


Simulink Online™ does not support the removeRunOnBoot function currently.


collapse all

To remove a model from Run-on-boot:

  1. Create a connection to the Raspberry Pi® hardware.

    raspPiObj = raspberrypi('','pi','raspberrypi')
    rasPiObj = 
      raspberrypi with properties:
        DeviceAddress: ''
                 Port: 22

    For more information on creating a connection to Raspberry Pi hardware, see raspberrypi.

  2. Use the removeRunOnBoot function.

    If the model is successfully removed, the function returns an empty cell.

    ans = 
         0×0 empty cell array

Input Arguments

collapse all

The object that represents the connection to Raspberry Pi hardware.

Example: raspPiObj