bugGNU Octave - Bugs: bug #38369, help fails to display the help...


bug #38369: help fails to display the help text for class methods

Submitted by:  Julien Bect <jbect>
Submitted on:  Thu Feb 21 15:31:23 2013  
Category: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Matlab Compatibility
Status: NoneAssigned to: None
Originator Name: Open/Closed: Open
Release: devOperating System: GNU/Linux

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


(Jump to the original submission Jump to the original submission)

Sun Nov 20 21:31:53 2016, comment #10:

This (documentation and help-function) issue is still present in Octave 4.2.0.

Hartmut <hardy>
Sun Feb 24 00:41:25 2013, comment #9:

Yes, let's start with the simple stuff which is documenting the behavior we have today. We can then work on getting some Matlab compatibility.

Rik <rik5>
Project Administrator
Sat Feb 23 22:15:22 2013, comment #8:

Perhaps the first thing to do would be to extend the help text for help() itself, since no information is currently provided on how to get help for a class function.

Do you want me to propose a patch for that ?

Julien Bect <jbect>
Sat Feb 23 22:08:49 2013, comment #7:

Yet another way of using help() in Matlab, that is not currently supported by Octave:

displays a summary of all class methods (methods name + the first line of help text).

Julien Bect <jbect>
Sat Feb 23 22:03:46 2013, comment #6:

It's the first one: relative path with respect to pwd.

Julien Bect <jbect>
Sat Feb 23 20:38:13 2013, comment #5:

Just to be clear, when calling

does Matlabe implicitly try

or does it try everything in the PATH variable

The first would be easier to support.

Rik <rik5>
Project Administrator
Sat Feb 23 16:04:03 2013, comment #4:

In fact, Matlab's help function allows to provide the path to the m-file for which the help text is to be displayed. So,

all display the help text for the class function dudule.m if the class folder @ClassName is in ./aaa/ (even if it's not in the search path).

Julien Bect <jbect>
Sat Feb 23 15:57:24 2013, comment #3:

[Something went wrong with my previous comment...]

The syntax

actually works in Octave, if @ClassName is in the search path. On the other hand, the other syntaxes don't.

Julien Bect <jbect>
Sat Feb 23 15:50:51 2013, comment #2:

Yes you're right, sorry, I was mistaken in my first post. The syntax

Julien Bect <jbect>
Fri Feb 22 20:37:49 2013, comment #1:

The last method ('help @classname/classfcn') used to be the only way to get help and that has been implemented in Octave. Is the directory where @ClassName located in the PATH variable for Octave?

I used the following in a build tree for Octave.

Rik <rik5>
Project Administrator
Thu Feb 21 15:31:23 2013, original submission:

Assume that you have a class ClassName with a method dudule() in @ClassName/dudule.m.

In Matlab, the following syntaxes are possible :

but none of them actually works in Octave.

Julien Bect <jbect>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by hardy (Posted a comment)
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by jbect (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    No Changes Have Been Made to This Item

    Back to the top

    Powered by Savane 3.1-cleanup1