Main Content

zynq

Display most recent IP address, user name, and password

Add-On Required: This feature requires the Embedded Coder Support Package for Xilinx Zynq Platform add-on.

Description

example

zynq displays the IP address or host name, user name, and password of the most recent successful connection by MATLAB® to a Zynq® board.

This information does not come from the current Xilinx® Zynq platform connected to your development computer. Therefore, if you have changed the Xilinx Zynq platform since the last successful connection, the information is out of date.

h = zynq creates a connection to the Xilinx Zynq platform, h. This connection reuses the IP address, user name, and password from most recent connection to the Xilinx Zynq platform.

h = zynq(operatingsystem,ipaddress,username,password,builddir) allows specification of non-default values for IP address or host name, user name, password, build folder on the Xilinx Zynq platform.

Examples

collapse all

Get the IP address or host name, user name, and password of the most recent successful connection by MATLAB to a Xilinx Zynq platform.

zynq
ans = 

  LinuxServices with properties:

     IPAddress: '10.10.10.1'
      Username: 'root'
    SerialPort: 'COM1'

Input Arguments

collapse all

The operating system of the ARM® Cortex® processor on the Xilinx Zynq platform, specified as a character array.

Data Types: char

The IPv4 address of the Xilinx Zynq platform, specified as a character array.

Data Types: char

The user name of the root user on the Xilinx Zynq platform, specified as a character array.

Data Types: char

The password of the root user on the Xilinx Zynq platform, specified as a character array.

Data Types: char

The build folder on the Xilinx Zynq platform, specified as a character array.

Data Types: char

Output Arguments

collapse all

Connection to the Xilinx Zynq platform, returned as an object handle.

Version History

Introduced in R2015b