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
why RTL-SDR source in standalone raspberry pi has errors?
2 次查看(过去 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:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/163933/image.png)
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
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Communications Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!