Main Content

beagleboneblue

Create connection to BeagleBone Blue hardware

Description

example

bbblue = beagleboneblue creates a connection, bbblue from the MATLAB®software to the BeagleBone® Blue hardware. This connection reuses the IP address, user name, and password from most recent connection to the BeagleBone Blue hardware.

example

bbblue = beagleboneblue(ipaddress) creates a connection to the BeagleBone Blue hardware using the IP address that you specify.

example

bbblue = beagleboneblue(ipaddress,username,password) creates a connection to the BeagleBone Blue hardware using the IP address, user name, and password that you specify. The BeagleBone Blue hardware has a default user name, 'debian'. The default password for 'debian' is 'temppwd'.

Examples

collapse all

Create a connection to the BeagleBone Blue hardware.

bbblue = beagleboneblue
bbblue = 

  beagleboneblue with properties:

    DeviceAddress: '192.168.7.2'
             Port: 22

This connection reuses the IP address, user name, and password from most recent connection to the BeagleBone Blue hardware.

The resulting object, bbblue, represents the BeagleBone Blue hardware.

To create a connection to the BeagleBone Blue hardware that connects to a wireless network:

  1. Connect the BeagleBone Blue hardware and your computer using a wireless network that has DHCP services. To connect to a wireless network, start the hardware setup process, as described in Hardware Setup and follow onscreen instructions.

  2. Get the IP address of the wireless connection on the BeagleBone Blue hardware. To get the IP address, do any one of the following:

  3. Create a connection to the BeagleBone Blue hardware at the IP address that you specify.

    bbblue = beagleboneblue('172.28.201.43')
    
    bbblue = 
    
      beagleboneblue with properties:
    
        DeviceAddress: '172.28.201.43'
                 Port: 22
    

To create a connection to the BeagleBone Blue hardware that connects to a wireless network:

  1. Connect the BeagleBone Blue hardware and your computer using a wireless network that has DHCP services. To connect to a wireless network, start the hardware setup process, as described in Hardware Setup and follow onscreen instructions.

  2. Get the IP address of the wireless connection on the BeagleBone Blue hardware. To get the IP address, do any one of the following:

  3. Create a connection to the BeagleBone Blue hardware at the IP address that you specify.

    bbblue = beagleboneblue('172.28.201.43','debian','temppwd')
    
    bbblue = 
    
      beagleboneblue with properties:
    
        DeviceAddress: '172.28.201.43'
                 Port: 22
    

Input Arguments

collapse all

The IPv4 address of the BeagleBone Blue hardware, specified as a character vector. When you use a USB cable to connect your computer to the BeagleBone Blue hardware, IP address of the USB port on the hardware is the default IP address, 192.168.7.2. To connect over a wireless network instead of a USB cable, use this argument to specify the IP address of the wireless connection.

Example: '172.28.201.43'

Data Types: char

The user name of the BeagleBone Blue hardware, specified as a character vector.

Example: 'debian'

Data Types: char

The password of the BeagleBone Blue hardware, specified as a character vector.

Example: 'temppwd'

Data Types: char

Output Arguments

collapse all

Connection to the BeagleBone Blue hardware, returned as an object handle.

Version History

Introduced in R2017b