Info

此问题已关闭。 请重新打开它进行编辑或回答。

/* or */ character sequence replaced during code generation

1 次查看(过去 30 天)
I include the character sequence /* or */ in any place in the model (Block's description for ex.), in order to be included as comment in the generated code.
In the generated code, the sequence /* is replaced with /+, and */ is replaced with +/
I'm ok with this, since the comments in the c code generation implements the comments with
/* My comment style */
My question is : Is there any place where this behaviour is documented by Mathworks ?
Thanks for your help

回答(0 个)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by