MATLAB Answers

RTL-SDR not working on Simulink

21 views (last 30 days)
Behind The Sciences
Behind The Sciences on 2 Nov 2017
Commented: Ethem on 4 Apr 2019
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
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.

Sign in to comment.

Answers (0)

Sign in to answer this question.