Main Content
Get IP Address of Xilinx Zynq Platform
Get the IP address of the Xilinx® Zynq® platform through the MATLAB® Command Window or at the Linux® command line.
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:
hTarget = dlhdl.Target('Xilinx','Interface','Ethernet')
The hardware provides information about its IP address, user name, and SSH port. For example:
hTarget = Target with properties: Vendor: 'Xilinx' Interface: Ethernet IPAddress: '192.168.1.101' Username: 'root' Port: 22
To get the Xilinx Zynq IP address by using command-line, see Configure Command-Line Session for Xilinx Zynq Platform.