help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Change “new function template” in Octave


From: Mike Miller
Subject: Re: Change “new function template” in Octave
Date: Mon, 13 Jun 2016 09:01:03 -0700
User-agent: Mutt/1.6.0 (2016-04-01)

On Mon, Jun 13, 2016 at 12:07:42 -0300, Jefferson Andrade wrote:
> Hi,
> 
> I searched the FAQ and the manual (and google) but could not find an answer.
> 
> How do I change the template used to create a new function? For example,
> when I enter the command below:
> 
> >> edit f1.m
> 
> Octave will open the editor with the following contents in it:

You can configure the author name, email, and license template. The
overall style of the file will always use Octave-style comments and
syntax, though.

If you want your own template, we would be willing to consider patches
to make it more configurable. Otherwise, the best option is to just
delete the Octave template and paste your own from a file.

-- 
mike



reply via email to

[Prev in Thread] Current Thread [Next in Thread]