Matlab 2020b doesn't work with BladeRF 2.0

Having issues with the site, hardware, source code, or any other issues?

Moderator: robert.ghilduta

Post Reply
caprice24
Posts: 1
Joined: Sun Dec 20, 2020 2:51 pm

Matlab 2020b doesn't work with BladeRF 2.0

Post by caprice24 »

After succesfully installing the BladeRF 2.0 and seeing that I can execute commands from the Blade CLI, I am not able to run the Demo Matlab program bladeRF_rx_gui. I did install the path to the Blade software in Matlab, using the Windows Installer.

This is the error I'm getting.
Error using bladeRF.check_status (line 116)
libbladeRF error (-7) in bladeRF_open(): No devices available

Error in bladeRF (line 398)
bladeRF.check_status('bladeRF_open', status);

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{:});


Any ideas on how to resolve this?

Thanks,
Nick
robert.ghilduta
Posts: 82
Joined: Thu Feb 28, 2013 11:14 pm

Re: Matlab 2020b doesn't work with BladeRF 2.0

Post by robert.ghilduta »

The bladeRF may be accessed by another program, or MATLAB may already have a handle to it in another variable.
Is another program (for example bladeRF-cli) open that might a handle open to the bladeRF? What happens if MATLAB is restarted?
Post Reply