0

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.

1 Answer 1

3

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.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.