Simulink hangs when transmitting

Having issues with the site, hardware, source code, or any other issues?
Post Reply
ksmiller99
Posts: 10
Joined: Wed Jun 15, 2016 11:22 am

Simulink hangs when transmitting

Post 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
jynik
Posts: 455
Joined: Thu Jun 06, 2013 8:15 pm

Re: Simulink hangs when transmitting

Post 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.
Post Reply