This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Get IP Address of Xilinx Zynq Platform

You can get the IP address of the Xilinx® Zynq® platform from the MATLAB® Command Window or using the Linux® command line.

You can use this optional task to:

  • Run an executable on a different hardware from the previous one you used. (Update the Host name parameter as described in Build and Run Executable on Xilinx Zynq Platform.)

  • Open a telnet or SSH session with hardware whose IP settings you do not know.

  • Configure the UDP Send block.

If you have multiple Xilinx Zynq platform boards connected to your host computer, disconnect the ones you are not using.

To get the Xilinx Zynq platform IP address using the MATLAB Command Window, enter:

h = zynq()
setupZynqHardware(h)

The hardware replies with information about its IP address, user name, password, build-directory, and COM port. For example:

Connecting to ZC702 using serial port COM20...
Setup for ZC702 is complete...
MATLAB will use following settings to communicate with ZC702 board:
IP Address       :172.28.144.60
User name        :root
Password         :root
Build-directory  :/root
COM port         :COM20

Alternatively, you can get the COM port number by running a Command Line Session with Xilinx Zynq Platform.

Related Topics