MATLAB: What is the purpose of Code Generation Template (CGT) files

rtw embedded codersimulinkstateflow

plz explain

Best Answer

CGT mainly used to add the custom comments (other than the generated comments) in the generated files.
For details see this page on Embedded coder documentaion.