Where does Matlab save the generated C code from Simulink?

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)

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

Asked:

on 16 Mar 2014

Answered:

on 20 Mar 2014

Community Treasure Hunt

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

Start Hunting!