Code Generation Warning from Simulink (Viewers & Generator Manager contains...)
Show older comments
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 Comments
Fangjun Jiang
on 31 Jan 2023
Change to grt.tlc to see what happens.
Kyle Smith
on 31 Jan 2023
Fangjun Jiang
on 31 Jan 2023
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
on 31 Jan 2023
It is not a MATLAB product. Have you tried contacting the developer about it?
Kyle Smith
on 31 Jan 2023
Accepted Answer
More Answers (0)
Categories
Find more on Modeling in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!