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

4 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Communications Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by