This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.


Get name of Simulink model added to Run-on-boot





getRunOnBoot(raspPiObj) returns the name of the Simulink® model added to Run-on-boot.


collapse all

To get the name of the model available in 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 getRunOnBoot function. The function returns the name of the model available in Run-on-boot. If no model is available in Run-on-boot, the function returns an empty cell.

    ans = 
         1×1 cell array 

Input Arguments

collapse all

The object that represents the connection to the Raspberry Pi hardware.

Example: raspPiObj

Introduced in R2018a