How to display the generated code in one line?
Afficher commentaires plus anciens
Hello everyone,
after code generation, the generated code will always be displayed in multiple lines, just as shown below:
simulink_function_DW.u8_ErrorCounter = (uint8_T)(((uint32_T)
simulink_function_DW.u8_ErrorCounter) + 1U);
But I don't find it good for readability. So I want to know how to configure simulink model so that the code will be displayed just in one line, just like the following style:
simulink_function_DW.u8_ErrorCounter = (uint8_T)(((uint32_T)simulink_function_DW.u8_ErrorCounter) + 1U);
Thank you!
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Simulink Coder dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!