Simulink not supporting the Code generation of comm.SDRRxPluto class
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi,
This is regarding the Simulink compile/build toolchain targeting ADALM Pluto SDR. The Pluto board is Rev C.
We are trying to generate an ELF file for an RF detector from a Simulink model and it looks like there is an issue in terms of the Pluto Receiver Object.
The error message is given below
### Starting build procedure for: DDK_pluto03may ### Generating code and artifacts to 'Model specific' folder structure ### Generating code into build folder: C:\Users\maddi\Documents\MATLAB\Pluto\Drone\DDK_pluto03may_ert_rtw ### Build procedure for DDK_pluto03may aborted due to an error.
Build Summary
Top model targets built: Model Action Rebuild Reason ========================================================================== DDK_pluto03may Failed Code generation information file does not exist. 0 of 1 models built (0 models already up to date) Build duration: 0h 0m 14.487s
The 'comm.SDRRxPluto' class does not support code generation. The error occurred for MATLAB System block 'DDK_pluto03may/ADALM-Pluto Radio Receiver'.
Caused by: May be caused by unspecified input dimensions, which cause Simulink to assign default input port dimensions. This issue can happen when an input port is in a loop, is driven by a Ground block or a source with unspecified dimensions, or has unconnected signal lines. Consider adding a Signal Specification block with specified dimensions in front of the input port.
Component:Simulink | Category:Block diagram error
I have tried adding a Signal Specification block. Did not seem to work. Not sure whether I did the block configuration correctly.
I hope to receive some suggestions from the forum.
Thanks in advance,
Manoj
0 commentaires
Réponses (1)
Sachin Lodhi
le 9 Jan 2024
Hello Manoj,
I recently ran into same trouble with my Pluto radio (comm.SDRTxPluto and comm.SDRRxPluto class) when operating in codegen mode. After reaching out to Mathworks technical support for guidance, they informed me that the Pluto radio's performance in codegen mode matches its performance in the regular mode. So, currently, it is decided not to provide the codegen support to Pluto.
Hope this helps.
Best Regards,
Sachin
Voir également
Catégories
En savoir plus sur Analog Devices ADALM1000 Support from Data Acquisition Toolbox dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!