Where does Matlab save the generated C code from Simulink?

11 views (last 30 days)
I am generating C code from my Simulink model but where can I find that C code in my computer. Where is it saved?

Answers (1)

Kaustubha Govind
Kaustubha Govind on 20 Mar 2014
It is typically generated into the modelname_grt_rtw (assuming you're using grt.tlc as the System Target File) folder in the current working directory.

Categories

Find more on Simulink Coder in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!