Simulink not supporting the Code generation of comm.SDRRxPluto class

3 次查看(过去 30 天)
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

回答(1 个)

Sachin Lodhi
Sachin Lodhi 2024-1-9
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
  1 个评论
Manoj Narayan
Manoj Narayan 2024-4-17
Thanks, Sachin for your comments. What I was trying to do was to generate an elf file and get Pluto to run it upon powering up. Any suggestions on how I can do this ?

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Analog Devices ADALM1000 Support from Data Acquisition Toolbox 的更多信息

产品


版本

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by