Contenu principal

alterasoc

R2026b

Display most recent IP address, username, and password

Description

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

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

h = alterasoc creates a connection to the Altera SoC hardware board, h. This connection reuses the IP address, username, and password from the most recent connection to the Altera 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 Altera SoC hardware board.

example

Examples

collapse all

Get the IP address or hostname, username, and password of the most recent connection by MATLAB to an Altera 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 Altera SoC hardware board, specified as a character array.

Data Types: char

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

Data Types: char

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

Data Types: char

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

Data Types: char

Output Arguments

collapse all

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

Version History

Introduced in R2016a