Page 1 of 1

Simulink hangs when transmitting

Posted: Wed Jun 15, 2016 1:09 pm
by ksmiller99
Hello,
My Simulink hangs whenever I try to transmit. The simulation initializes, says it is running, then goes directly into Terminating, and hangs there until I stop MATLAB with Windows Task Manager. Even a very simple model containing only the bladeRF in with tx enabled & rx disabled, and a constant 0.5 on the input hangs.

See attached model.

Code: Select all

[major, minor, patch] = bladeRF.version;
returns 0,1,1

Code: Select all

[major, minor, patch, ver_string] = bladeRF.library_version;
returns 1,6,1,'1.6.1'

I'm using MATLAB 2015b on Windows 7, 64 bit, AMD A10 and 16GB RAM

Do you have any ideas on how to troubleshoot or correct this?

Thanks,
Kevin

Re: Simulink hangs when transmitting

Posted: Thu Jun 16, 2016 11:29 am
by jynik
I've recently been hearing reports of TX hanging/crashing when using the Cypress driver backend lately and am trying to find some time to look into this. A workaround for the time being is to use the libusb backend in Windows.

Are you using the Cypress backend? If so, could you try switching to the libusb driver backend?

You can check via bladeRF.devices -- you'll see a "backend" string.

If you open a handle to a device, you could also query the "info" property.