MATLAB Phaser CN0566 Setup Problem

20 vues (au cours des 30 derniers jours)
Ali
Ali le 5 Oct 2023
Commenté : Robin le 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 commentaire
Robin
Robin le 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…

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Communications Toolbox dans Help Center et File Exchange

Tags

Produits


Version

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by