function sci2htm(func) // Creates a help file for each function defined in a Scilab .sci file. // func - complete name of the .sci file where function definitions are stored. // Description: // Uses the perl script sci2hmt.pl to create a .htm help file for each function // which is defined in the .sci file stored in the string func. // // Some minor modifications may be needed to complete the help files. // Examples // sci2htm("sci2htm.sci") // Torbjørn Pettersen October 2003. (Torbjorn.Pettersen@broadpark.no) // $Id: sci2htm.sci,v 1.2 2003/10/28 19:21:35 top Exp $ // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation; either version 2 of the License, or // (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA if argn(2)==0, func=""; end if MSDOS then unix_w("perl sci2htm.pl "+func); else unix_w("sci2htm.pl "+func); end