AnsweredAssumed Answered

libiio client

Question asked by strack on May 11, 2014
Latest reply on Jul 14, 2014 by dpu

Hi,

 

I'm trying to use the libiio_client from https://github.com/analogdevicesinc/mathworks_tools/tree/master/libiio_client in Matlab/Simulink but when I try to simulate the model I'm receiving the following error:

 

MATLAB System block 'iio_sys_obj_sim/MATLAB System' error occurred when invoking 'setupImpl' method of 'iio_sys_obj'. The error was thrown from '

'C:\Program Files\MATLAB\R2013b\toolbox\matlab\general\loadlibrary.m' at line 598

'C:\Program Files\MATLAB\R2013b\toolbox\matlab\general\loadlibrary.m' at line 219

'D:\Zynq\sw\iio-cmdsrv-master\clients\matlab\iio_sys_obj.m' at line 53'.

 

Caused by:

Could not find file iio.h.

 

 

So I grabbed iio.h from https://github.com/analogdevicesinc/libiio , but I'm not sure if this is what I needed since I now receive the following:


 

MATLAB System block 'iio_sys_obj_sim/MATLAB System' error occurred when invoking 'setupImpl' method of 'iio_sys_obj'. The error was thrown from '

'C:\Program Files\MATLAB\R2013b\toolbox\matlab\general\loadlibrary.m' at line 253

'D:\Zynq\sw\iio-cmdsrv-master\clients\matlab\iio_sys_obj.m' at line 53'.

 

Caused by:

A 'Selected' compiler was not found. You may need to run mex -setup.

 

 

Any suggestions to get the libiio client up and running would be appreciated.

 

Thanks,

 

strack

Outcomes