MATLAB Phaser CN0566 Setup Problem

21 views (last 30 days)
Ali
Ali on 5 Oct 2023
Commented: Robin on 3 Nov 2023
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 Comment
Robin
Robin on 3 Nov 2023
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…

Sign in to comment.

Answers (0)

Categories

Find more on Communications Toolbox in Help Center and File Exchange

Tags

Products


Release

R2023a

Community Treasure Hunt

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

Start Hunting!