Using own custom "rt_main.c" with system target file grt.tlc in Simulink Coder
9 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hi,
I would like to know whether it is possible to make grt.tlc target to point to my own custom "rt_main.c" in my own project path instead of the predefined "rt_main.c" in Matlab's installation path. Basically the line 181 in the generated makefile should ultimately be:
MAIN_SRC = <my own paht>/rt_main.c
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/752344/image.png)
Thanks!
0 Commenti
Risposte (1)
Shanmukha Voggu
il 1 Ott 2021
Hi Konstantinos,
I Understood that you want to have custom rt_main.c file in your project. This option is available in the Embedded Coder but not in the Simulink Coder.
Hope this helps!
3 Commenti
Vedere anche
Categorie
Scopri di più su Simulink Coder in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!