Embedded Coder - How to generate code from subsystems, without optimizations ?
Mostra commenti meno recenti
Hello ,
I want to generate C Code from my simulink model (with embedded coder).
In my simulink model there are 2 subsystems and I want to generate 2 functions (division and product) with input and output.
With the standard configuration the embedded coder generates a single big function with no input and output.
Moreover, I can't treat a subsystem like a matlab function block. With a matlab function block I can go in Block Parameters ---> Code Generation and set up all configurations for optimizations like here:
https://it.mathworks.com/matlabcentral/answers/597790-embedded-coder-how-to-generate-code-without-optimizations?s_tid=prof_contriblnk
I can't do it with a subsystem.
How can I improve my code generation with functions that correspond to subsystem block?

Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Deployment, Integration, and Supported Hardware in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!