[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Matlab-compatible help?

From: Paul Kienzle
Subject: Re: Matlab-compatible help?
Date: Sat, 15 Jul 2006 06:17:09 -0400

You could run your scripts through a preprocessor as a step in
your release of the matlab zip file.  The preprocessor would
do things like convert # to %, endif to end, etc., and run the
doc strings through the texinfo processor.  Code for parts of
this exist on the octave-forge site (e.g., admin/make_index
is perl code which builds the online docs on the octave-forge
website and oct2mat is an old awk script which converts some
octave constructs to matlab.

        - Paul

On Jul 15, 2006, at 4:53 AM, Matthias Brennwald wrote:

Dear all

I'm writing some code that consists of several program/function
files, and should be compatible with both Octave and Matlab. While
Octave offers texinfo for the help information of programs/functions,
Matlab doesn't (I believe). I would really like to use the texinfo
option, because this would allow me to recycle the help info of the
individual programs/functions for the documentation of the whole
package. But then Matlab's help function chokes on my code... any

Help-octave mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]