bugGNU Octave - Bugs: bug #62260, inline class missing functions for...

 
 

bug #62260: inline class missing functions for Matlab Compatibility

Submitter:  Rik <rik5>
Submitted:  Wed 06 Apr 2022 11:28:23 PM UTC
   
 
Category:  Octave Function Severity:  1 - Wish
Priority:  5 - Normal Item Group:  Matlab Compatibility
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 07 Apr 2022 04:49:40 AM UTC, comment #1: 

This was rather easy so I fixed things in this changeset: http://hg.savannah.gnu.org/hgweb/octave/rev/b7edac56a810.

Marking as Fixed and closing report.

Rik <rik5>
Group administrator
Wed 06 Apr 2022 11:28:23 PM UTC, original submission:  

The inline class in Octave is missing several functions that Matlab provides for inline class objects.  Given that inline objects are strongly discouraged in favor of anonymous function handles this isn't a big priority.  However, the list of functions is


cat
disp
display
exist
horzcat
nargin
nargout
symvar
vertcat


The disp() and display() routines would be nice to implement because currently Octave prompt does not show much:


f = inline ('sin (x)')
warning: inline is obsolete; use anonymous functions instead
f =

  <class inline>



Rik <rik5>
Group administrator

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-04-07 rik5 StatusConfirmed Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code