RTL-SDR not working on Simulink
2 views (last 30 days)
Show older comments
I installed the "Communications System Toolbox Support Package for RTL-SDR Radio" in Simulink and I get errors when running the examples, but also when I run an example with only the RTL-SDR Receiver and when I stop the simulation, I get the error:
Undefined variable "Simulink" or class "Simulink.sdi.invokeSDI".
Then, if I add a Spectrum Analyzer block, I get the error:
Error in 'untitled/Spectrum Analyzer':Undefined variable "Simulink" or class "Simulink.data.isSupportedEnumClass"
And finally, if I run the example "FMReceiverSimulinkExample.slx"
This error was detected while a MEX-file was running. If the MEX-file
is not an official MathWorks function, please examine its source code
for errors. Please consult the External Interfaces Guide for information
on debugging MEX-files.
I'm not sure if this could be due to the fact that I use the RTL-SDR dongle with different software, so I run the Zadig driver converter and maybe Simulink doesn't recognize it (the driver now is WinUSB (v6.1.7600.16385)).
Thank you!
1 Comment
Ethem
on 4 Apr 2019
IT looks like your Simulink installation got corrupted somehow. You can try to uninstall and install MATLAB/Simulink again. Or contact https://www.mathworks.com/support/contact_us.html?s_tid=sp_ban_cs for further help.
Answers (0)
See Also
Categories
Find more on Communications Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!