Code Generation Warning from Simulink (Viewers & Generator Manager contains...)
古いコメントを表示
Hello all,
I am trying to use the code generation feature from simulink using the IQAN Simulink toolbox from Parker. There seems to be little information out there about said toolbox, so I thought I'd ask here since the warning I am getting may apply to more scenarios than just this specific one:
"Warning: Viewers & Generators Manager contains an unconnected signal generator: 'Hello_world/Constant1'. It
might produce sample time code that has no effect in the generated code. To eliminate this unnecessary code,
either delete the signal generator or connect it to a block input port."
I am just testing the toolbox's capabilities at the moment so my model is very simple. It is two imports, whos signals get added in a sum block, and the sum block output is sent to an outport. That is the entire model. For the toolbox to work properly, this model needs to be a referenced subsystem. So basically, I generate code from a top model, which references this one.
I don't understand this warning becuase there is no "Constant1" in either of the models. I'll attach some pictures to this post.
Thanks in advance for any suggestions.


Top model:

Referenced Model:

5 件のコメント
Fangjun Jiang
2023 年 1 月 31 日
Change to grt.tlc to see what happens.
Kyle Smith
2023 年 1 月 31 日
Fangjun Jiang
2023 年 1 月 31 日
Just a way to verify if everything works fine, or indeed you have a hidden block 'Hello_world/Constant1'. What is the harm trying it.
Benjamin Thompson
2023 年 1 月 31 日
It is not a MATLAB product. Have you tried contacting the developer about it?
Kyle Smith
2023 年 1 月 31 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Modeling についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!