bugGNU Octave - Bugs: bug #33528, Matlab compatibility issue for...

 
 

bug #33528: Matlab compatibility issue for nested cell arrays

Submitter:  Arnaud Delorme <arnodelorme>
Submitted:  Sat 11 Jun 2011 03:33:03 PM UTC
   
 
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 3.4.0 Operating System:  * Mac OS
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 01 Oct 2011 03:06:12 PM UTC, comment #3: 

Fixed in this changeset (http://hg.savannah.gnu.org/hgweb/octave/rev/28e3e9158d70).  The reporter can either build from Mercurial development sources or wait for the 3.6 release scheduled for December 2011.

Rik <rik5>
Group administrator
Wed 27 Jul 2011 11:23:45 PM UTC, comment #2: 

This is an important compatibility limitation. When porting my code to Octave, I have to change hundreds of line of codes. This was the major incompatibility between Matlab and Octave.

Arnaud Delorme <arnodelorme>
Wed 27 Jul 2011 11:09:24 PM UTC, comment #1: 

Confirmed on the development branch.  Another way to get a working version is to place a comma after 'test' like so:


{'test', {'on' 'off'}}


Rik <rik5>
Group administrator
Sat 11 Jun 2011 03:33:03 PM UTC, original submission:  

Parsing of cell array

{ 'test' { 'on' 'off' } } %does not work under octave 

{ 'test' { 'on'; 'off' } } %does work
{ 'test' { 'on', 'off' } } %does work as well

Arnaud Delorme <arnodelorme>

 

(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 (Posted a comment)
  • -email is unavailable- added by jwe (Updated the item)
  • -email is unavailable- added by arnodelorme (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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-10-01 rik5 StatusConfirmed Fixed
        Open/ClosedOpen Closed
    2011-07-27 rik5 StatusNone Confirmed
    2011-06-12 jwe SummaryMajor Matlab compatibility issue for nested cell arrays Matlab compatibility issue for nested cell arrays

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code