why RTL-SDR source in standalone raspberry pi has errors?

4 ビュー (過去 30 日間)
stack programer
stack programer 2017 年 5 月 10 日
回答済み: stack programer 2017 年 5 月 10 日
when i try compiling RTL-SDR source to raspberry pi target,it return these errors: whats limitation we have in code generation in simulink matlab can any one explain?? please help see schematic image simulink:
Code Generation 1 1
Elapsed: 34 sec
The file containing block diagram 'raspberrypi_external_mode' is shadowed by a file of the same name higher on the MATLAB path. This can cause unexpected behavior. For more information see "Avoiding Problems with Shadowed Files" in the Simulink documentation.
The file containing the block diagram is: C:\Users\root\Desktop\raspberrypi_external_mode.slx.
The file higher on the MATLAB path is: C:\MATLAB\SupportPackages\R2016a\toolbox\target\supportpackages\raspberrypi\raspberrypiexamples\raspberrypi_external_mode.slx
Component: Simulink | Category: Block diagram warning
### Successful completion of build procedure for model: raspberrypi_external_mode
Build process completed successfully
The file containing block diagram 'raspberrypi_external_mode' is shadowed by a file of the same name higher on the MATLAB path. This can cause unexpected behavior. For more information see "Avoiding Problems with Shadowed Files" in the Simulink documentation.
The file containing the block diagram is: C:\Users\root\Desktop\raspberrypi_external_mode.slx.
The file higher on the MATLAB path is: C:\MATLAB\SupportPackages\R2016a\toolbox\target\supportpackages\raspberrypi\raspberrypiexamples\raspberrypi_external_mode.slx
Component: Simulink | Category: Block diagram warning
Parameter stereoFMRxParams cannot be downloaded because its type (struct_tXxiNa9lYN1CmZVgsUIwIE) has no external mode host-to-target function registered
Error occurred while executing External Mode MEX-file 'ext_comm':
ExtTargetPktPending() call failed while checking for target pkt

採用された回答

stack programer
stack programer 2017 年 5 月 10 日
My problem is solved when i plugin rtl-sdr to raspberyypi and i run simulink it works nice it return spectrum from scope desktop every thing is ok. thanks best regards stackprogramer

その他の回答 (0 件)

カテゴリ

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