How to conned Xilinx Zedboard 7000 to matlab

22 次查看(过去 30 天)
I use this code to connect Xilinx Zedboard to Matlab
h=zynq();
h.setupZynqHardware();
h.checkConnection
but at the second line it appears the following error :
C:\MATLAB\SupportPackages\R2013a\zynq\+zynq\+util\LinuxServices.p>LinuxServices.setupZynqHardware
(line 85)
Please how can I solve it.
  2 个评论
Walter Roberson
Walter Roberson 2015-5-31
That does not tell us what the error is, just where it is. We need to know what it says the problem is. For example is it complaining about attempting to access the 5th element of an array that only has 3 elements? We need the entire message and traceback.
Daniel_M
Daniel_M 2015-6-1
编辑:Walter Roberson 2015-8-26
(mathlab cannot talk with my Zedboard) ,I am beginner to the rapid prototyping with Xilinx (Zedbord, Zynq 7000) and Matlab. In fact, I use Matlab 2013a and Zedboard of Xilinx. I had also installed Xilinx Vivado 2013.4.
So, when I connect the Zedboard on the Host PC, I use TeraTerm software to check the serial communication between the Host PC and ZedBoard using basic commands beforehand installed onto the flash of the Zedboard helping to check the functionality of the Zedboard such as communication between the Host PC and Zedboard. the results are Good, by seeing the led blinking (located on the Zedboard) this is obtained using the basic command (write_led 0xFF) on Teraterm !!! However, when I try to do communicate the Zedboard and Matlab using the command 'Z = Zynq' just to get information of my Zedboard , matlab return the following :
IPAddress: '10.10.10.1'
Username: 'root'
SerialPort: []
instead to :
IPAddress: '192.168.1.10'
Username: 'root'
SerialPort: [COM3]
which are the expected IP address and serialport of my zedboard. So I think , it's the main problem that I have " 'no communication , mathlab cannot talk with my Zedboard ', I don't know if it's well described now?

请先登录,再进行评论。

回答(2 个)

Manikandan
Manikandan 2015-8-26
Communicate via JTAG.

Örs
Örs 2016-9-12

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by