Main Content

alterasoc

Display most recent IP address, username, and password

Add-On Required: This feature requires the Embedded Coder Support Package for Intel SoC Devices add-on.

Description

alterasoc displays the IP address or hostname, username, and password of the most recent successful connection by MATLAB® to an Intel® SoC hardware board.

h = alterasoc creates a connection to the Intel SoC hardware board, h. This connection reuses the IP address, username, and password from the most recent connection to the Intel SoC hardware board.

h = alterasoc(ipaddress,username,password,builddir) allows specification of nondefault values for IP address or hostname, username, password, and build folder on the Intel SoC hardware board.

example

Examples

collapse all

Get the IP address or hostname, username, and password of the most recent successful connection by MATLAB to an Intel SoC board.

alterasoc
ans = 

  LinuxServices with properties:

     Hostname: '172.28.194.136'
      Username: 'root'
    Password: 'cyclonevsoc'

Input Arguments

collapse all

The IPv4 address of the Intel SoC hardware board, specified as a character array.

Data Types: char

The username of the root user on the Intel SoC hardware board, specified as a character array.

Data Types: char

The password of the root user on the Intel SoC hardware board, specified as a character array.

Data Types: char

The build folder on the Intel SoC hardware board, specified as a character array.

Data Types: char

Output Arguments

collapse all

Connection to the Intel SoC hardware board, returned as an object handle.

Version History

Introduced in R2016a