Windows Installation

Having issues with the site, hardware, source code, or any other issues?
Post Reply
awais
Posts: 2
Joined: Thu Jun 09, 2022 2:57 am

Windows Installation

Post by awais »

Dear Everyone,

I used the installer: bladeRF-win-installer-2021.10.exe

Everything went fine. Installation completed successfully. No error. But when I enter/run following command in MATLAB I get this error:
Can anyone help?

>> bladeRF_rx_gui
Error using loadlibrary
There was an error loading the library "bladeRF"
The specified module could not be found.



Error in bladeRF/load_library (line 334)
[notfound, warnings] = loadlibrary('bladeRF', @libbladeRF_proto, 'alias', 'libbladeRF');

Error in bladeRF.devices (line 170)
bladeRF.load_library();

Error in bladeRF_rx_gui>devicelist_CreateFcn (line 830)
devs = bladeRF.devices;

Error in gui_mainfcn (line 95)
feval(varargin{:});

Error in bladeRF_rx_gui (line 50)
gui_mainfcn(gui_State, varargin{:});

Error in
matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)bladeRF_rx_gui('devicelist_CreateFcn',hObject,eventdata,guidata(hObject))

Caused by:
Error using loaddefinedlibrary
The specified module could not be found.



Error using loadlibrary
There was an error loading the library "bladeRF"
The specified module could not be found.



Error in bladeRF/load_library (line 334)
[notfound, warnings] = loadlibrary('bladeRF', @libbladeRF_proto, 'alias', 'libbladeRF');

Error in bladeRF (line 401)
bladeRF.load_library();

Error in bladeRF_rx_gui>bladeRF_fft_OpeningFcn (line 358)
handles.bladerf = bladeRF('*:instance=0');

Error in gui_mainfcn (line 220)
feval(gui_State.gui_OpeningFcn, gui_hFigure, [], guidata(gui_hFigure), varargin{:});

Error in bladeRF_rx_gui (line 50)
gui_mainfcn(gui_State, varargin{:});

Caused by:
Error using loaddefinedlibrary
The specified module could not be found.
robert.ghilduta
Posts: 156
Joined: Thu Feb 28, 2013 11:14 pm

Re: Windows Installation

Post by robert.ghilduta »

Did the installer find your MATLAB installation directory?
Are you able to run bladeRF-cli from the Windows command line? If not, please ensure c:\Program Files\bladeRF\x64 is in your system PATH.
Lastly, can you run "device = bladeRF();" from the MATLAB command line? https://github.com/Nuand/bladeRF/tree/m ... k-bindings

If none of these fix the issue, in MATLAB change the working directory to c:\Program Files\bladeRF\MATLAB and run bladeRF.build_thunk .
awais
Posts: 2
Joined: Thu Jun 09, 2022 2:57 am

Re: Windows Installation

Post by awais »

Thanks for the reply. After running bladeRF.build_thunk, issue is solved.

Can you please share Matlab code examples (Tx/Rx) and documentation/book/Tutorials/Lectures? Documentation written in Matlab is not friendly and not descriptive for understanding.
Post Reply