Reputation: 3474
Is there a way to add comment to Simulink in a way which will be later added to the generated code?
Rational, sometimes i look at the generated code and I would like to see my comments for better understanding.
Upvotes: 0
Views: 680
Reputation: 10762
Within the Model-Wide Utilities
library there is a DocBlock
. If you select the Text option, then the comments can be included in code generated by Simulink Coder.
Upvotes: 3