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?

回答(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.

类别

帮助中心File Exchange 中查找有关 Simulink Coder 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by