AnsweredAssumed Answered

AD9361_matlab can't run

Question asked by lgq1225 on Jul 1, 2016
Latest reply on Jul 21, 2016 by ACozma

Dear engineer group,

     I am working a project with Zedboard and AD9361 evaluation board according to the design on ADI website. Now, I can receive the data on IIO OSC software on windows7 64bit, but when I run the ad9361_matlab on matlab 2015a platform,

after the command window print as follow:

libiio_if: Connected to IP 192.168.43.2

libiio_if: Remote libiio version: 0.6, (git-343e6b8)

libiio_if: Local libiio version: 0.6, (git-343e6b8)

libiio_if: Found 7 devices in the system

libiio_if: cf-ad9361-dds-core-lpc was found in the system

libiio_if: Found 4 output channels for the device cf-ad9361-dds-core-lpc

libiio_if: cf-ad9361-dds-core-lpc output data channels successfully initialized

libiio_if: Connected to IP 192.168.43.2

libiio_if: Remote libiio version: 0.6, (git-343e6b8)

libiio_if: Local libiio version: 0.6, (git-343e6b8)

libiio_if: Found 7 devices in the system

libiio_if: cf-ad9361-lpc was found in the system

libiio_if: Found 4 input channels for the device cf-ad9361-lpc

libiio_if: cf-ad9361-lpc input data channels successfully initialized

libiio_if: Connected to IP 192.168.43.2

libiio_if: Remote libiio version: 0.6, (git-343e6b8)

libiio_if: Local libiio version: 0.6, (git-343e6b8)

libiio_if: Found 7 devices in the system

libiio_if: ad9361-phy was found in the system

the matlab blocks. I have installed the libiio.exe , VC++2013 Re, VS 2010, matlab 2015a and I have maxed the VS 2010 through “mex –setup ” as the ADI wedsite command. When I try to debug the matlab sources, I find the program blocks when it runs to the line:

calllib(obj.libname, 'iio_buffer_push', obj.iio_buffer);

in libiio_if.m. I think it’s the command “iio_buffer_push” make the error. How can I do?

 

  1. Thanks.

 

Outcomes