(
Jump to the original submission)
Sun 24 Feb 2013 12:41:25 AM UTC, 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.
|
Sat 23 Feb 2013 10:15:22 PM UTC, 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 ?
|
Sat 23 Feb 2013 10:08:49 PM UTC, 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).
|
Sat 23 Feb 2013 10:03:46 PM UTC, comment #6:
It's the first one: relative path with respect to pwd.
|
Sat 23 Feb 2013 08:38:13 PM UTC, 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.
|
Sat 23 Feb 2013 04:04:03 PM UTC, 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).
|
Sat 23 Feb 2013 03:57:24 PM UTC, 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.
|
Sat 23 Feb 2013 03:50:51 PM UTC, comment #2:
Yes you're right, sorry, I was mistaken in my first post. The syntax
|
Fri 22 Feb 2013 08:37:49 PM UTC, 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.
|
Thu 21 Feb 2013 03:31:23 PM UTC, 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.
|
(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)
Attach File(s):
Comment:
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found