Post Go back to editing

streaming data inout from Matlab for AD9371 + ZC706 not working?

Hi,

I am working on ZC706 and  AD9371 platform.

I wish to stream data inout from matlab for above platform.

I am using  following Tools and source versions:

  • HDL: hdl_2018_r1
  • MATLAB: R2018b
  • Vivado: 2017.4.1

and matlab adi toolbox version AnalogDevicesBSP_v18.2.mltbx.

Also I am using https://github.com/analogdevicesinc/MathWorks_tools/tree/master/hil_models/ad9371

And when I am running ad9371.m from matlab I am getting following ERROR:

>ad9371
Not enough input arguments.

Error in matlabshared.libiio.base/getChan

Error in adi.common.DDS/ToggleDDS (line 54)

Error in adi.AD9371.Tx/setupInit (line 106)
obj.ToggleDDS(strcmp(obj.DataSource,'DDS'));

Error in adi.common.RxTx/configureChanBuffers (line 100)
setupInit(obj);

Error in matlabshared.libiio.base/setupImpl

Error in adi.AD9371.Tx/setupImpl (line 74)
setupImpl@matlabshared.libiio.base(obj);

Error in ad9371 (line 20)
tx(y);

Kindly please suggest solution.

Regards

ARVIND

Parents Reply Children