Code covered by the BSD License  

Highlights from
SIGNFILE

Be the first to rate this file! 5 Downloads (last 30 days) File Size: 3.8 KB File ID: #3621
image thumbnail

SIGNFILE

by Francesco di Pierro

 

19 Jun 2003 (Updated 20 Jun 2003)

SIGNFILE helps you maintain up-to-date info related to your files or toolboxes.

| Watch this File

File Information
Description

SIGNFILE will help you maintain up-to-date information related to your files or toolboxes. If you have a particular message, or simply the author's info, that you want to appear right at the end of the help section of your mfile(s), use SIGNFILE. It will use special characters to wrap your info so that the next time you will call SIGNFILE it will overwrite the old info.

SIGNFILE is particularly useful to update author's info of a collection of files. To run SIGNFILE on multiple files you can use FUF, which you can freely download from the MATLAB Central File Exchange.

SIGNFILE adds a blank line after the help section, followed by the signature (message); any previous signature stamped by SIGNIFILE would get replaced by the new one. If the file has no help section, SIGNFILE will place the signature
(message) after the function declaration.

SIGNFILE will also work with functions that have the help section before the function declaration.

SIGNFILE encloses the signature (message) between '-$-$-$-' so as to recognize previous automatic signatures, which will be overridden.

REMARKS
- SIGNFILE runs under MATLAB 6.5 (it uses short circuit operators)
- SIGNFILE signs only .m file functions ; it does not process m scripts. A warning message is prompetd for each file that can't be executed and the stream flow continues
- SIGNFILE does not overwrite the original files, but marks them as .old;
- SIGNFILE requires SMARTINDENT, which can be downloaded from MATLAB Central;
- SIGNFILE can process read only file by changing the attributes during the computation. Eigther the two new files created, .m and .old, will keep the original attributes.

SIGNFILE requires SMARTINDENT, which can also be downloaded from the MATLAB Central File Exchange.

MATLAB release MATLAB 6.5 (R13)
Other requirements SMARTINDENT, which can be downloaded from the Matlab Central file exchange. It won't work on previous release because of short circuit operators
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
development environment Francesco di Pierro 22 Oct 2008 07:03:17
signature Francesco di Pierro 22 Oct 2008 07:03:17
revision Francesco di Pierro 22 Oct 2008 07:03:17
info Francesco di Pierro 22 Oct 2008 07:03:17
maintain Francesco di Pierro 22 Oct 2008 07:03:17
utilities Francesco di Pierro 22 Oct 2008 07:03:17

Contact us at files@mathworks.com