Site hosted by Angelfire.com: Build your free website today!

newfcn

PURPOSE ^

NEWFCN create a MATLAB function with entered filename

SYNOPSIS ^

function newfcn(fcnname)

DESCRIPTION ^

 NEWFCN create a MATLAB function with entered filename

   NEWFCN creates a M-File having the entered filename and a specific
   structure which helps for creating the main function structure. It
   would be opened and the starting line for writting will be highlighted
   (Only available in R14 or higher). The actual working MATLAB Version
   will be also captured. If user forgot to enter code and execute the
   function, he will get a reminder to enter code in the function.

   Example :
   ---------
   >> newfcn dummy

   %%%%%%%%%% BEGINN CODE %%%%%%%%%%
      function dummy()
      % DUMMY ...
      %
      %   ...

      %% AUTHOR    : Frank Gonzalez-Morphy
      %% $DATE     : 15-Jul-2004 15:36:42 $
      %% $Revision : 1.00 $
      %% DEVELOPED : 7.0.0.19920 (R14)
      %% FILENAME  : dummy.m

      disp(' !!!  You must enter code into this file < dummy.m > !!!')

      % Created with NEWFCN.m by Frank González-Morphy
      % ... mailto: frank.gonzalez-morphy@mathworks.de
      % ===== EOF ====== [dummy.m] ======

   %%%%%%%%%% CODE - END  %%%%%%%%%%

   See also: NEWFCN_RENAME NEWSL NEWXPC

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SUBFUNCTIONS ^

SOURCE CODE ^


Generated on Sat 12-Mar-2005 01:01:49 by Rezaul Karim © 2004