Be the first to rate this file! 3 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 (R2010a)
Other requirements Windows Platform .NET External Interface
Tags for This File  
Everyone's Tags
display name, format, function file creation, header(2), template
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.

Contact us