Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

/* or */ character sequence replaced during code generation

1 vue (au cours des 30 derniers jours)
hassan
hassan le 3 Déc 2014
Clôturé : MATLAB Answer Bot le 20 Août 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

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by