フィルターのクリア

Simulink not supporting the Code generation of comm.SDRRxPluto class

4 ビュー (過去 30 日間)
Manoj Narayan
Manoj Narayan 2022 年 5 月 24 日
コメント済み: Manoj Narayan 2024 年 4 月 17 日
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 Center および File ExchangeAnalog 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