How to change the name of external inputs/outputs in generated code?
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hello all, I am using embedded coder and I cannot figure out how to change a default on the generated code. Every time my code generates I get something like this:
typedef struct {
real32_T In1; /* '<Root>/In1' */
real32_T In2; /* '<Root>/In2' */
real32_T In3; /* '<Root>/In3' */
} ExtU;
Now majority of this is just fine, but I want the ExtU to be auto generated with ExtU_FileName. I cannot find a setting to modify that. Same goes for the output struct. I want it to be ExtY_FileName
/* External outputs (root outports fed by signals with default storage) */
typedef struct {
real32_T out1; /* '<Root>/out1' */
real32_T out2; /* '<Root>/out2' */
} ExtY;
The reason I need this is I am using quite a few generated code files and for clarity I want the structures to be associated with the file names. How can I go about doing this without modifying the code by hand?
0 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur Deployment, Integration, and Supported Hardware dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!