bugGNU Octave - Bugs: bug #56359, Error: 'is_real_square_matrix'...

 
 

bug #56359: Error: 'is_real_square_matrix' undefined when calling functions from control pkg (after Octave upgrade)

Submitter:  Bill Tubbs <billtubbs>
Submitted:  Mon 20 May 2019 10:15:09 PM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Unexpected Error or Warning
Status:  Invalid / Not an Octave Bug Assigned to:  None
Originator Name:  Bill Open/Closed:  * Closed
Release:  * 5.1.0 Operating System:  * Mac OS
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 20 May 2019 10:57:57 PM UTC, comment #2: 

Oh, thanks.  That worked.

Bill Tubbs <billtubbs>
Mon 20 May 2019 10:20:59 PM UTC, comment #1: 

Yes, you need to reinstall the control package when updating to a new major version of Octave.

Mike Miller <mtmiller>
Group Member
Mon 20 May 2019 10:15:09 PM UTC, original submission:  

I recently upgraded my octave installation from 4.something to 5.1 on Mac OS X and now I get the following bugs when I use functions from the control package:

```
(base) BillsMacBookPro-9:~ billtubbs$ octave
GNU Octave, version 5.1.0
Copyright (C) 2019 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  For details, type 'warranty'.

Octave was configured for "x86_64-apple-darwin18.5.0".

Additional information about Octave is available at https://www.octave.org.

Please contribute if you find this software useful.
For more information, visit https://www.octave.org/get-involved.html

Read https://www.octave.org/bugs.html to learn how to submit bug reports.
For information about changes from previous versions, type 'news'.

octave:1> A = [1 1; 0 1]
A =

   1   1
   0   1

octave:2> B = [0; 1]
B =

   0
   1

octave:3> Q = [1 0; 0 0]
Q =

   1   0
   0   0

octave:4> R = 100.0
R =  100
octave:5> pkg load control
octave:6> lqr(A, B, Q, R)
error: 'is_real_scalar' undefined near line 65 column 14
error: called from
    issample at line 65 column 12
    lqr at line 92 column 3
octave:6> ctrb(A, B)
error: 'is_real_square_matrix' undefined near line 66 column 11
error: called from
    ctrb at line 66 column 5
octave:6>
```

Do I need to reinstall control pkg or something obvious?  Sorry, I am not an Octave pro..

Bill Tubbs <billtubbs>

 

(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 billtubbs (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 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-05-20 mtmiller StatusNone Invalid / Not an Octave Bug
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code