Page 1 of 1

Error running Matlab demo bladeRF_relay_demo

Posted: Mon Mar 02, 2015 3:05 pm
by wleonsal
Hello,

I have (successfully) installed the Matlab/Simulink support package. However, when I try to run the provided demo: bladeRF_relay_demo.m, I get the followin error:

Error using bladerf_dev
Buffer Length must be numeric and greater zero

Error in bladerf_relay_demo (line 36)
ret = bladerf_dev(handle, 'TX', 1.5e6, 1.5e6, 2.412e9,
20, data);


I am using Matlab 2014b on a Windows 7 machine. I am able to run the provided bladerf_find_devices.mex with the following output:
Device Instance 0
Serial #: 60e43c19fe726391a8bfbca1f5a0adfe
USB Bus: 3
USB Addr: 8

Any help will be appreciated.

Re: Error running Matlab demo bladeRF_relay_demo

Posted: Thu Mar 05, 2015 7:18 am
by wleonsal
Thank you for your reply.

I had installed the version provided here: http://www.nuand.com/windows.php which seems to be installing the "stable" version. Following the link you provided, I installed the "beta" version and now the demo works without throwing the error.

Thank you for your help.