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)).