AnsweredAssumed Answered

Problems with FMCOMMS2+Simulink+Libiio

Question asked by Arne_2 on Nov 21, 2014
Latest reply on Nov 27, 2017 by ACozma

Hello there

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 FMCOMMS2 (ad9361)

I followed the Zynq Quick Start Guide [Analog Devices Wiki] to setup the Zedboard.

I installed the libiio x64 for windows, and on my Zedboard the 2014_R1 branch of the libiio library by following the instructions.

I installed Windows SDK and made sure it is working using mex -setup:

MEX configured to use 'Microsoft Windows SDK 7.1 (C)' for C language compilation.

Warning: The MATLAB C and Fortran API has changed to support MATLAB

  variables with more than 2^32-1 elements. In the near future

  you will be required to update your code to utilize the

  new API. You can find more information about this at:


I set the function block parameters of the ad9361 block to the IP address of my Zedboard (


When I ran the model, I received a window with the error message:


"The Simulink system object is outdated! Download the latest version from the Analog Devices github repository."


This error message was generated from line 107 in libiio_if.m

I double checked and re-installed the

I confirmed that I have version 1.0.4 on the PC, which was the latest available (from today).


When I debug the origin of the error message from libiio_if.m, I can probe the versions that libiio_if.m has been detecting:

libiio_if: Remote libiio version is 0.2, d994f7c 

libiio_if: libiio dll version is 0.1, git    




I guess I need some help here....