MATLAB Phaser CN0566 Setup Problem

I have followed this link: MATLAB Phaser setup guide [Analog Devices Wiki] to connect the CN0566 Phased array kit with MATLAB 2023a.
After installation of all required toolbox,the guide shows two different commands that verify connection with the adi.Phaser class and adi.AD9361.Rx class.
Command 1:
bf = adi.Phaser;
bf.uri = 'ip:phaser';
bf()
Command 2:
sdr = adi.AD9361.Rx
sdr.uri = 'ip:pluto';
data = sdr();
But when I run the command 2, I get this error:
Error using loadlibrary
Could not find file ad9361-wrapper.h.
Error in loadlibrary
Error in adi.AD9361.Base/setupLibad9361 (line 111)
[~, ~] = loadlibrary(libName, loadlibraryArgs{:});
Error in adi.AD9361.Rx/setupInit (line 281)
setupLibad9361(obj);
Error in adi.common.RxTx/configureChanBuffers (line 226)
setupInit(obj);
Error in matlabshared.libiio.base/setupImpl
Error in adi.common.RxTx/setupImpl (line 124)
setupImpl@matlabshared.libiio.base(obj);

1 Commento

The ADI Docs need to be updated - it sometimes requires these steps (to load libad9361). In MATLAB, run:
>> A=adi.utils.libad9361
>> A.download_libad9361
Should fix it, and should be included in the directions…

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Communications Toolbox in Centro assistenza e File Exchange

Prodotti

Release

R2023a

Tag

Richiesto:

Ali
il 5 Ott 2023

Commentato:

il 3 Nov 2023

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by