octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #60143] (Windows) classdef error "function cal


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #60143] (Windows) classdef error "function called with too many outputs"
Date: Sun, 28 Feb 2021 15:22:30 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Firefox/52.0

URL:
  <https://savannah.gnu.org/bugs/?60143>

                 Summary: (Windows) classdef error "function called with too
many outputs"
                 Project: GNU Octave
            Submitted by: philipnienhuis
            Submitted on: Sun 28 Feb 2021 09:22:29 PM CET
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Unexpected Error or Warning
                  Status: None
             Assigned to: None
         Originator Name: Philip Nienhuis
        Originator Email: 
             Open/Closed: Open
                 Release: dev
         Discussion Lock: Any
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

When running the demos in the contributed function confusionchart.m (patch
#9985) with Octave-7.0.0 on Windows the following error is emitted:

:
error: set.FontName: function called with too many outputs
error: called from
    set.FontName
    ConfusionMatrixChart at line 97 column 21
    confusionchart at line 125 column 6


When running the function in Octave-7.0.0 on Linux this error doesn't occur
and the demos work nicely.

I have no idea how to break this down into a smaller example, I'm not very
familiar with classdef.
So I can only offer the folowing steps to reproduce:
* download the confusionchart.m and ConfusionMatrixChart.m functions from
patch #9985 (attached for convenience here as well) into a folder in the
search path
* if needed install statistics package
* pkg load statistics
run demo 3:
Yt = {'Positive', 'Positive', 'Positive', 'Negative', 'Negative' }
Yp = {'Positive', 'Positive', 'Negative', 'Negative', 'Negative' }
cm = confusionchart ( Yt, Yp )




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sun 28 Feb 2021 09:22:29 PM CET  Name: ConfusionMatrixChart.m  Size:
26KiB   By: philipnienhuis

<http://savannah.gnu.org/bugs/download.php?file_id=50950>
-------------------------------------------------------
Date: Sun 28 Feb 2021 09:22:29 PM CET  Name: confusionchart.m  Size: 5KiB  
By: philipnienhuis

<http://savannah.gnu.org/bugs/download.php?file_id=50951>

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?60143>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]