bugGNU Octave - Bugs: bug #40955, traditional struct display is not...

 
 

bug #40955: traditional struct display is not like matlab's

Submitter:  Felipe G. Nievinski <fgnievinski>
Submitted:  Tue 17 Dec 2013 10:01:16 PM UTC
   
 
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Matlab Compatibility
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * Microsoft Windows
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 19 Dec 2013 08:57:40 PM UTC, comment #4: 

I checked in the following changeset:

http://hg.savannah.gnu.org/hgweb/octave/rev/ab26db8da20a

John W. Eaton <jwe>
Group administrator
Wed 18 Dec 2013 03:03:29 PM UTC, comment #3: 

thank you for the hg guide.
I'll submit an hg export for future patches.
this as well as previous ones were not substantial.

I maintain this is an incompatibility with matlab,
albeit one related to the CUI not to the interpreter.
just make a poll among 10 matlab users and you'll find their majority to support this contention.

this is unrelated to octave's default CUI, rather it only affects the --traditional option, which incidentally already replaces the prompt with ">>".

Felipe G. Nievinski <fgnievinski>
Wed 18 Dec 2013 02:18:22 PM UTC, comment #2: 

Furthermore, I'm not sure this really is a "bug".

Our goal is to make sure that if it works in Matlab, it works in Octave and produces the same numbers. We are generally less concerned about cosmetic differences. For example, we don't consider the fact that the default prompt says "octave:1>" instead of ">>" a bug.

I like Octave's default display more than Matlab's, personally. It's nice to be able to look at the values it contains, and it's nice that it explicitly says the type, a scalar struct, instead of the much-misunderstood struct array.


Jordi GutiƩrrez Hermoso <jordigh>
Group Member
Wed 18 Dec 2013 02:13:49 PM UTC, comment #1: 
Jordi GutiƩrrez Hermoso <jordigh>
Group Member
Tue 17 Dec 2013 10:01:16 PM UTC, original submission:  
Felipe G. Nievinski <fgnievinski>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #30032:  octave.cc.diff added by fgnievinski (56B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by jordigh (Posted a comment)
  • -email is unavailable- added by fgnievinski (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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-12-19 jwe StatusNone Fixed
        Open/ClosedOpen Closed
    2013-12-17 fgnievinski Attached File- Added octave.cc.diff, #30032

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code