MATLAB: Automatic comments done by GUIDE

automatic commentsguide

Hey,
does anyone know whether there is a command to delete all comments automatically done by GUIDE, i.e. % Executes just before… . Or do you have to tell GUIDE in advance somehow? These automatic comments can be helpfull but once your are into it they appear to be a little annoying.
Any idea?
Cheers

Best Answer

You can turn off "Generate Callback Prototypes" in:
GUIDE -> Tools -> GUI Options
But this will then not generate anything. Not sure if this is what you want but there doesn't appear to be a way to shut off just the comments.