bugGNU Octave - Bugs: bug #45314, [octave forge] (control) Matlab...

 
 

bug #45314: [octave forge] (control) Matlab Incompatibility with invalid subscripted assignment type

Submitted by:  None
Submitted on:  Sat 13 Jun 2015 08:23:30 AM UTC  
 
Category: Octave Forge PackageSeverity: 1 - Wish
Priority: 3 - LowItem Group: Matlab Compatibility
Status: ConfirmedAssigned to: None
Originator Name: Thomas DeanOriginator Email: -unavailable-
Open/Closed: OpenRelease: other
Operating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

(Jump to the original submission Jump to the original submission)

Mon 13 Jul 2015 12:50:22 PM UTC, comment #9:

Ok then, reopening with a low priority :)

Mike Miller <mtmiller>
Project Administrator
Mon 13 Jul 2015 06:02:20 AM UTC, comment #8:

"Won't fix" sounds a bit harsh to me. Let's put it this way: implementing the array feature is not on top of my priority list.

Lukas Reichlin <paramaniac>
Wed 17 Jun 2015 03:01:39 PM UTC, comment #7:

Closing bug as won't fix per comment #3.

Mike Miller <mtmiller>
Project Administrator
Sun 14 Jun 2015 07:38:52 PM UTC, comment #6:

Just for the record, I attached the file "tomdean.m" which contains my solution from the Octave mailing list.

(file #34217)

Lukas Reichlin <paramaniac>
Sun 14 Jun 2015 06:52:45 PM UTC, comment #5:

Yes, there are two examples included in the control package:

Anderson.m
MDSSystem.m

Lukas Reichlin <paramaniac>
Sun 14 Jun 2015 03:21:59 PM UTC, comment #4:

Is there an example of how to do this with cells?
Since this is an incompatibility with matlab, we should have a clear example of how to convert to cells.

Doug Stewart <dastew>
Sun 14 Jun 2015 03:05:44 PM UTC, comment #3:

Arrays of LTI systems are not supported. As a workaround, one can use cells.

Lukas Reichlin <paramaniac>
Sun 14 Jun 2015 12:00:14 AM UTC, comment #2:

adding maintainer to CC list

Carnë Draug <carandraug>
Project Member
Sat 13 Jun 2015 01:27:06 PM UTC, comment #1:

Using the attached script, mail.m, I get the following error much earlier:

The line in question is

The line reported to have an error

also involves the tf() function from the control package.

I am re-assingning the bug to Octave-Forge since it appears to involve the control package rather than core Octave.

Rik <rik5>
Project Administrator
Sat 13 Jun 2015 08:23:30 AM UTC, original submission:

From a matlab(?) script found on the web,

octave:306> ###########################################
octave:306> ## this causes an error
octave:306> K = R1/(R1+R2);
octave:307> C = [1:.2:3]*1e-12;
octave:308> for n = 1:length(C)

> b_array(:,:,n) = tf([KR2C(n) K],[KR2C(n) 1]);
> end

error: lti: subsasgn: invalid subscripted assignment type
error: called from
subsasgn at line 41 column 7
error: assignment failed, or no method for '<unknown type> = class'
octave:308> ###########################################

octave:309> version
ans = 4.1.0+

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #34217:  tomdean.m added by paramaniac (530B - application/octet-stream)
file #34211:  mail.m added by None (1KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jwe (Updated the item)
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by dastew (Posted a comment)
  • -unavailable- added by paramaniac (Posted a comment)
  • -unavailable- added by carandraug (Lukas Reichlin - maintainer of the control package)
  • -unavailable- added by None (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 15 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 13 Aug 2017 01:22:10 PM UTCjweSummaryControl Package Matlab Incompatibility with invalid subscripted assignment type=>[octave forge] (control) Matlab Incompatibility with invalid subscripted assignment type
    Mon 13 Jul 2015 12:50:22 PM UTCmtmillerSeverity3 - Normal=>1 - Wish
      Priority5 - Normal=>3 - Low
      StatusWont Fix=>Confirmed
      Open/ClosedClosed=>Open
      Release4.0.0=>other
      Operating SystemGNU/Linux=>Any
    Wed 17 Jun 2015 03:01:39 PM UTCmtmillerStatusNone=>Wont Fix
      Open/ClosedOpen=>Closed
    Sun 14 Jun 2015 07:38:52 PM UTCparamaniacAttached File-=>Added tomdean.m, #34217
    Sat 13 Jun 2015 11:59:44 PM UTCcarandraugCarbon-Copy-=>Added -unavailable-
    Sat 13 Jun 2015 01:27:27 PM UTCrik5Carbon-CopyRemoved 72865=>-
    Sat 13 Jun 2015 01:27:06 PM UTCrik5CategoryInterpreter=>Octave Forge Package
      SummaryMatlab Incompatibility invalid subscripted assignment type=>Control Package Matlab Incompatibility with invalid subscripted assignment type
    Sat 13 Jun 2015 08:23:30 AM UTCNoneAttached File-=>Added mail.m, #34211

    Back to the top


    Powered by Savane 3.1-cleanup1