Main Content

removeRunOnBoot

Remove a MATLAB function from Run-on-boot

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

Description

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

example

Examples

collapse all

To remove a function from Run-on-boot:

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).

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 connection to Raspberry Pi hardware.

Example: raspPiObj

Version History

Introduced in R2019b