Page 1 of 1

Matlab 2020b doesn't work with BladeRF 2.0

Posted: Sun Dec 20, 2020 2:58 pm
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

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

Posted: Tue Dec 22, 2020 12:04 pm
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?