How to override the default text in MATLAB

Posted by Richie Cotton on Stack Overflow See other posts from Stack Overflow or by Richie Cotton
Published on 2010-03-31T16:37:23Z Indexed on 2010/03/31 17:13 UTC
Read the original article Hit count: 307

Filed under:

In MATLAB, when you click File -> New -> Function M-File, you get a file with the following contents:

function [ output_args ] = Untitled( input_args )
%UNTITLED Summary of this function goes here
%   Detailed explanation goes here


end

Is it possible to override this behaviour, and specify your own text?

(The motivation is that I'm trying to persuade my colleagues to document their m-files more thoroughly, and having default text for them to fill in might encourage them.)

© Stack Overflow or respective owner

Related posts about matlab