Main Content

removeRunOnBoot

Remove a MATLAB function from Run-on-boot

Description

removeRunOnBoot(raspPiObj) removes the MATLAB® function from Run-on-boot.

Examples

collapse all

To remove a function 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: 
                Name: 'Raspberry Pi'
       DeviceAddress: '176.93.236.232'
            Username: 'pi'
            Password: '*********'
            BuildDir: '/home/pi'
     EnableRunOnBoot: 1
         BuildAction: 'Build, load, and run'
    

    For more information on creating a connection to Raspberry Pi hardware, see raspberrypi (Simulink Support Package for Raspberry Pi Hardware).

  2. Use the removeRunOnBoot function.

    If the function is successfully removed, it 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

Introduced in R2019b