bugGNU Octave - Bugs: bug #41716, control package: internal error...

 
 

bug #41716: control package: internal error from slicot function

Submitter:  John W. Eaton <jwe>
Submitted:  Thu 27 Feb 2014 05:45:22 AM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  None
Originator Name:  jwe Open/Closed:  * Closed
Release:  * other Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 06 Jun 2015 06:20:04 AM UTC, comment #2: 
Lukas Reichlin <paramaniac>
Sun 31 May 2015 07:08:26 PM UTC, comment #1: 

Confirmed, still present in the current version of the control package. Cc'ing control package maintainer.

Mike Miller <mtmiller>
Group Member
Thu 27 Feb 2014 05:45:22 AM UTC, original submission:  

The following code


y = zeros(1,25);
u = ones(1,25);
tsam = 0.1;
data = iddata(y,u,tsam);
n4sid(data,1);


results in the error


 ** On entry to IB01AD parameter number  7 had an illegal value


Although iddata also produces the warnings

+vebatim+
warning: iddata: more outputs than samples - matrice 'y' should probably be transposed
warning: iddata: more inputs than samples - matrice 'u' should probably be transposed
-verbatim-

I think that it would be better for n4sid to detect the situation and give a meaningful error message instead of calling IB01AD with an invalid input.

I'm using Octave 3.6.4 and octave-control 2.6.2-1 on a Debian system, but I don't see any changes in the current control package sources that look like they fix this problem.

John W. Eaton <jwe>
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 paramaniac (Posted a comment)
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by mtmiller
  • -email is unavailable- added by jwe (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 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-06-06 carandraug StatusConfirmed Fixed
        Open/ClosedOpen Closed
    2015-05-31 mtmiller StatusNone Confirmed
        Release3.6.4 other
        Carbon-Copy- Added paramaniac

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code