Problems with RTL-SDR and Simulink

4 ビュー (過去 30 日間)
Arne
Arne 2014 年 3 月 14 日
コメント済み: Zhu 2017 年 1 月 24 日
I recently installed RTL-SDR under Simulink. While the support package works fine on one of my computers, I keep on getting error messages on a second install:
Error while obtaining sizes from MEX S-function 'sdrrsfunrx' in 'sdrrSpectralAnalysisExample/RTL-SDR Receiver/sdrrsfunrx'.
Invalid MEX-file 'C:\MATLAB\SupportPackages\R2014a\sdrr\sdrrmex\sdrrsfunrx.mexw64': The specified module could not be found. Component: Simulink | Category: Block error
The checked and ensured that the mentioned file 'C:\MATLAB\SupportPackages\R2014a\sdrr\sdrrmex\sdrrsfunrx.mexw64' is installed on the system.
I also reinstalled the Zadig driver for the RTL-SDR and verified that it is working by running the dongle with SDRSharp.
Anything else that I should try?
Thanks in advance, Arne

回答 (2 件)

Arne
Arne 2014 年 3 月 14 日
Ken,
Thanks for your answer. I managed to resolve my problem:
The USB driver for the RTL-SDR was installed incorrectly. After completely de-installing and re-installing, it now works.
It was somewhat confusing, because SDRSharp was able to communicate with the SDR while Simulink was not.
Arne
  1 件のコメント
Zhu
Zhu 2017 年 1 月 24 日
I have the same problem with you, but my de-installing and re-installing of the driver doesn't work........

サインインしてコメントする。


Ken Atwell
Ken Atwell 2014 年 3 月 14 日
Install Depenency Walker and then open the .mexe64 file with it. There many be a dependency that is missing or not on your search path.
Here are some other troubleshoot options.

カテゴリ

Help Center および File ExchangeCommunications Toolbox についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by