After trying the new installer I'm now down to just
MATLAB System block 'bladerf_passive2_justgather/MATLAB System' error occurred when invoking 'setupImpl' method of 'bladeRF_Simulink'. The error was thrown from '
'C:\Program Files\bladeRF\matlab\bladeRF.m' at line 111
'C:\Program Files\bladeRF\matlab\bladeRF_XCVR.m' at line 108
'C:\Program Files\bladeRF\matlab\bladeRF_XCVR.m' at line 364
'C:\Program Files\bladeRF\matlab\bladeRF.m' at line 518
'C:\Program Files\bladeRF\matlab\bladeRF_Simulink.m' at line 343'.
Caused by:
libbladeRF error (-1) in bladerf_set_frequency(): An unexpected error occurred

Thank you for you answers!
Im working on my Bachelor Degree and want to implement my FPGA Board as a Simulink model to have a reference with the bladeRF.
I will give you the requested information tomorrow and try the suggested solution.
Thank you again!

Sorry for the late response,
have been soldering the prototype board to have it tormorrow morning with the professor.

I've also been struggling through getting the bladeRF to work in a matlab 2017b environment and your suggestions have been super helpful. I'm down to the point at which it works the first time but if I clear and try to reconnect to the bladeRF I get an error no device found message. Any ideas on how to solve this issue?

For what it's worth, I also run into this... it almost feels like bladerf_close is not getting properly called to release the device, or something like that. I was secretly hoping it was a problem with my environment, but it sounds like I'm not that lucky

For what it's worth, I also run into this... it almost feels like bladerf_close is not getting properly called to release the device, or something like that. I was secretly hoping it was a problem with my environment, but it sounds like I'm not that lucky

I've finally had a chance to get back at this, I started from scratch in matlab and can now get it to work once again like Axel with the fixed installer on RX ONLY.
But I'm encountering this quoted issue as well; where it will work on the first try but subsequent tries will show no device available in both Matlab. I do not need to reset the device to get it working however, exiting out of matlab (or matlab/simulink) in its entirety will enable the device to be used again either from BladeRF-cli or from a freshly launched matlab.

FWIW - sometimes I can get the following error in BladeRF-Cli if I try entering interactive mode after a matlab script finished first-use of the device (so the script itself has closed the device but matlab is still open):

C:\Users\Name>bladerf-cli -i
[WARNING @ "C:\\Users\\msft\\source\\repos\\bladeRF-win-installer\\work\\bladeRF\\host\\libraries\\libbladeRF\\src\\backend\\usb\\libusb.c":481] Found a bladeRF via VID/PID, but could not open it due to insufficient permissions.
No bladeRF device(s) available.If one is attached, ensure it is not in use by another program
and that the current user has permission to access it.

------- Regarding Transmitting-----
I still sometimes get the same set frequency issue reported above when transmit is included, even wit the simplified program (device = bladeRF();device.rx.frequency = 2.4e9;device.tx.frequency = 2.4e9;) you suggested. Sometimes instead it gives the issue with no devices found we all seem to be encountering. Sometimes if I reset the BladeRF and the PC, I can get it to run in both transmit and receive, but it will only do this on the first try - after that producing the errors described above...

Thanks for trying to solve this!
I can still roll back to the bladeRF-win-installer-2016.05-rc2-alpha2 when I need full functionality.