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

publishr

PURPOSE ^

PUBLISHR Run a script and save the results.

SYNOPSIS ^

function varargout = publishr(file,options)

DESCRIPTION ^

PUBLISHR   Run a script and save the results.
   ONLY FOR HTML OUTPUT
   PUBLISHR(CELLSCRIPT,FORMAT) publishes the script in the specified format.
   FORMAT can be one of the following:
 outputAbsoluteFilename
      'html'  - HTML.
      'doc'   - Microsoft Word (requires Microsoft Word).
      'ppt'   - Microsoft PowerPoint (requires Microsoft PowerPoint).
      'xml'   - An XML file that can be transformed with XSLT or other tools.
      'latex' - LaTeX.  Also changes the imageFormat to 'epsc2'.

   PUBLISHR(SCRIPT,OPTIONS) provides a structure of options that may contain any
   of the following fields (first choice listed is the default):

       format: 'html' | 'doc' | 'ppt' | 'xml' | 'latex'
       stylesheet: '' | an XSL filename (ignored unless format = html or xml)
       outputDir: '' (an html subfolder below the file) | full path
       imageFormat: 'png' | any supported by PRINT or IMWRITE, depending on figureSnapMethod
       figureSnapMethod: 'print' | 'getframe'
       useNewFigure: true | false
       maxHeight: [] | positive integer (pixels)
       maxWidth: [] | positive integer (pixels)
       showCode: true | false
       evalCode: true | false
       stopOnError: true | false
       createThumbnail: true | false

   When publishing to HTML, the default stylesheet stores the original code as
   an HTML comment, even if "showcode = false".  Use GRABCODE to extract it.
   Modified by Rezaul, 2004
   If the format is not html, PUBLISHR behaves as publish function,
   with 'evalcode' option set to false
   Require mxdom2simplehtmlr.xml file in the MATLAB path

   See also GRABCODE, PUBLISH.

 Md Rezaul Karim, November 2004
 help publishr>publishhelp

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