Main Content

alterasoc

Display most recent IP address, user name, 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 host name, user name, 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, user name, and password from most recent connection to the Intel SoC hardware board.

h = alterasoc(ipaddress,username,password,builddir) allows specification of non-default values for IP address or host name, user name, password, build folder on the Intel SoC hardware board.

example

Examples

collapse all

Get the IP address or host name, user name, 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 user name 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