Be the first to rate this file! 6 Downloads (last 30 days) File Size: 1.66 KB File ID: #27865
image thumbnail

Creating function files with a header template

by Fayssal El Moufatich

 

10 Jun 2010

Creation of header template populated m-files for functions

| Watch this File

File Information
Description

It creates an m-file for a matlab function and populate with a header template describing the purpose of the function, the input and output parameters, and other relevant information.

In addition, it inserts information related to the author of the file: username, display name, computer name, windows version, and the time stamp.

The command to create a MATLAB function:

new myfun

It is also possible to append function code at the function m-file creation time as follows:

new myfun disp('Hello World!');

MATLAB release MATLAB 7.10 (2010a)
Other requirements Windows Platform .NET External Interface
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
template Fayssal El Moufatich 10 Jun 2010 10:40:53
header Fayssal El Moufatich 10 Jun 2010 10:40:54
format Fayssal El Moufatich 10 Jun 2010 10:40:55
function file creation Fayssal El Moufatich 10 Jun 2010 10:40:55
display name Fayssal El Moufatich 10 Jun 2010 10:40:55
header Mmd 25 Feb 2011 13:54:33

Contact us at files@mathworks.com