Main Content

removeRunOnBoot

Remove a Simulink model from Run-on-boot

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

Description

example

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

Note

Simulink Online™ does not support the removeRunOnBoot function currently.

Examples

collapse all

To remove a model from Run-on-boot:

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

    raspPiObj = raspberrypi('192.168.1.5','pi','raspberrypi')
    rasPiObj = 
    
      raspberrypi with properties:
    
        DeviceAddress: '192.168.1.5'
                 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.

    removeRunOnBoot(raspPiObj)
    ans = 
    
         0×0 empty cell array

Input Arguments

collapse all

The object that represents the connection to Raspberry Pi hardware.

Example: raspPiObj