Hi, I am working with the adrv9009 + zcu102 boards. I'm trying to use the examples they provide (ADRV9009_DDS_Example.m) but I keep having compilation problems. I have installed everything requested at https://wiki.analog.com/resources/tools-software/transceiver-toolbox. I am using matlab R2020a with the more stable AnalogDevicesTransceiverToolbox_v20.1.2 toolbox already compiled. When booting I had the following problems:
1.-
Error using adi.ADRV9009.Tx
Method 'releaseChanBuffers' in class 'adi.common.RxTx' uses different access permissions than its superclass 'matlabshared.libiio.base'. Set 'releaseChanBuffers' access to 'protected' to match
superclass.
Error in ADRV9009_DDS_Example (line 5)
tx = adi.ADRV9009.Tx ('uri', uri);
I solved this by changing:
methods (Hidden, Access = {? matlabshared.libiio.base,?
matlab.unittest.TestCase})
to
methods (Hidden, Access = protected)
2.-
Error using matlabshared.libiio / base / setupDataType
Too many input arguments.
Error in adi.common.RxTx / setupImpl (line 116)
obj.setupDataType (obj.dataTypeStr);
Error in adi.common.Tx / setupImpl (line 23)
setupImpl@adi.common.RxTx (obj);
Error in ADRV9009_DDS_Example (line 13)
tx ();
I solved this by commenting on the following line (I did this because I saw in one of its branches that it is not set)
function setupImpl (obj)
% Call the superclass method
obj.Count (1, obj);
obj.setupDataType (obj.dataTypeStr);
setupImpl@matlabshared.libiio.base (obj);
end
to
function setupImpl (obj)
% Call the superclass method
obj.Count (1, obj);
% obj.setupDataType (obj.dataTypeStr);
setupImpl@matlabshared.libiio.base (obj);
end
3.- After these changes I keep jumping errors. I am considering that the toolbox is wrong or I don't know.
Thanks, Leandro