Hello,
I just wanted to note an issue I have had today in case anyone else runs into the same issue. I was happily using MATLAB 2023b with my CN0566, everything sending and receiving as expected. However I needed to update to 2024b to obtain a new MATLAB function I required. I did so, and as part of the install it transfers your various installed Toolboxes. But then my script, which had been working, suddently starting giving the error:
Error using loadlibrary
Could not find file ad9361-wrapper.h.
I looked through every resource I could find, and the only advice that I could find time and time again was to run the following commands:
A=adi.utils.libad9361
A.download_libad9361
However, when I ran those, I received the message:
Dependencies already installed, not reinstalling
I tried stepping through the code to understand why it was failing, but it seemed to execute exactly the same, except just fail when trying to load the ad9361 library. Eventually, I uninstalled the various AD toolboxes (RF and Microwave, Transceiver), rebooted, and reinstalled them. Then when I ran the A.download_libad9361 command, I received:
Downloading libad9361 library
Installing libad9361 complete
Adding libad9361 to path
Everything then immediately starting working as expected. So a nice little gotcha when upgrading MATLAB versions.
Regards,
Robyn