Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

/* or */ character sequence replaced during code generation

1 visualizzazione (ultimi 30 giorni)
hassan
hassan il 3 Dic 2014
Chiuso: MATLAB Answer Bot il 20 Ago 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

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by