Hi Di,
I am having some problems running the simulink example (ad9361_sim.slx) found on
Simulink libiio [Analog Devices Wiki]
I am using the zedboard and the FMCOMMS4 (ad9364)
I followed the Zynq Quick Start Guide [Analog Devices Wiki] to setup the zedboard. I installed the libiio x64 for windows and in iio_sys_obj I changed the ip address to correspond to my zedboard and the device name to ad9364. However when I ran the simulation, MATLAB gave the following error.
MATLAB System block 'ad9364_sim/MATLAB System' error occurred when invoking 'setupImpl' method of 'iio_sys_obj'. The error was thrown from '
'C:\Program Files\MATLAB\R2014a\toolbox\matlab\general\loadlibrary.m' at line 497
'C:\Program Files\MATLAB\R2014a\toolbox\matlab\general\loadlibrary.m' at line 253
'C:\Users\David\Documents\MATLAB\FMCOMMS\ad9361\ad9361\libiio_if.m' at line 360
'C:\Users\David\Documents\MATLAB\FMCOMMS\ad9361\ad9361\iio_sys_obj.m' at line 165'.
Index exceeds matrix dimensions.
Are you able to indicate what I am doing wrong?
Thank You
-David