bugGNU Octave - Bugs: bug #36003, misleading error for assignment to...


bug #36003: misleading error for assignment to empty structure

Submitted by:  Ben Abbott <bpabbott>
Submitted on:  Mon 26 Mar 2012 12:12:00 AM UTC  
Category: InterpreterSeverity: 2 - Minor
Priority: 3 - LowItem Group: Feature Request
Status: ConfirmedAssigned to: None
Originator Name: Ben AbbottOpen/Closed: Open
Release: devOperating System: Any

Add a New Comment(Rich Markup)

You are not logged in

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


Sat 19 Nov 2016 09:10:46 PM UTC, comment #3:

This is still the same in Octave 4.2.0.

Hartmut <hardy>
Fri 26 Feb 2016 04:55:33 AM UTC, comment #2:

Mike's post seemed to be truncated. The full Matlab error is

(In case the verbatim environment caused the problem, it is: "A dot name structure assignment is illegal when the structure is empty. Use a subscript on the structure.")

Lachlan Andrew <lachlan>
Project Member
Sat 16 May 2015 07:05:54 PM UTC, comment #1:

Confirmed, here is the Matlab error message for reference in case someone wants to add something similar:

Mike Miller <mtmiller>
Project Administrator
Mon 26 Mar 2012 12:12:00 AM UTC, original submission:

This seems to come up a lot on mail-list.

When a subscript is included on the structure, there is no error.

Can something be done to give a more descriptive error message?

Ben Abbott <bpabbott>
Project Member


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

Attach File(s):

No files currently attached


   bug dependencies.

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by hardy (Posted a comment)
  • -unavailable- added by lachlan (Posted a comment)
  • -unavailable- added by mtmiller (Updated the item)
  • -unavailable- added by bpabbott (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):



    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 16 May 2015 07:05:54 PM UTCmtmillerPriority5 - Normal=>3 - Low
    Tue 28 Jan 2014 04:35:59 AM UTCmtmillerStatusNone=>Duplicate
      Dependencies-=>Depends on bugs #34967
    Mon 26 Mar 2012 12:14:52 AM UTCbpabbottSummarymisleading error message=>misleading error for assignment to empty structure

    Back to the top

    Powered by Savane 3.1-cleanup1