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

3 views (last 30 days)
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

Accepted Answer

stack programer
stack programer on 10 May 2017
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

More Answers (0)

Categories

Find more on Communications Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!