Customizing variables and scopes in simulink code generation
Mostra commenti meno recenti
Hi Community,
I would like to know what does have more impact while code is generated inside Simulink. Is it the signals or the blocks? Also the variables assigned in workspace have any influence in code generation.
I want to achive a certain rules for the functions and defined variables in the generated code, eg:- in workspace I define the variable as uint8(PidKpVal) and when code is generated that needs to be in the format ---> UNSIGNED8 u8PidKpVal and same for the function ---> UNSIGNED16 pid_ctrl_u16PlantPosition_mm.
where can i define and is there any possibility of customize as that of the sl_customization.
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Simulink Coder in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!