Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

/* or */ character sequence replaced during code generation

1 Ansicht (letzte 30 Tage)
hassan
hassan am 3 Dez. 2014
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
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

Antworten (0)

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by