[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Writing 'help' functions as m-files
From: |
David Bateman |
Subject: |
Re: Writing 'help' functions as m-files |
Date: |
Thu, 27 Mar 2008 17:08:29 +0100 |
User-agent: |
Thunderbird 2.0.0.12 (X11/20080306) |
John W. Eaton wrote:
> Yes. If the doc string for a .oct file is empty, Octave will look for
> a .m file of the same name. The way it works now is possibly
> confusing (but apparently it is compatible behavior). If foo.oct with
> no doc string appears somewhere in the path before foo.m with a doc
> string, Octave will display the documentation from the .m file even
> though it will find and execute foo.oct. It might be better for it to
> simply find the function it would execute, then if no doc string is
> defined for it, only look for the corresponding .m file rather than
> searching the path again. It's hard to imagine that being
> incompatible in this way would be a bad thing...
>
>
As Matlab doesn't support the Octave API and mex-files can't have
help-string, in what way would this be incompatible?
D.
--
David Bateman address@hidden
Motorola Labs - Paris +33 1 69 35 48 04 (Ph)
Parc Les Algorithmes, Commune de St Aubin +33 6 72 01 06 33 (Mob)
91193 Gif-Sur-Yvette FRANCE +33 1 69 35 77 01 (Fax)
The information contained in this communication has been classified as:
[x] General Business Information
[ ] Motorola Internal Use Only
[ ] Motorola Confidential Proprietary