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

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

[Octave-bug-tracker] [bug #57007] rats does not fully respect strlen arg


From: Rik
Subject: [Octave-bug-tracker] [bug #57007] rats does not fully respect strlen argument
Date: Sat, 5 Oct 2019 17:22:45 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:56.0) Gecko/20100101 Firefox/56.0

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

                 Summary: rats does not fully respect strlen argument
                 Project: GNU Octave
            Submitted by: rik5
            Submitted on: Sat 05 Oct 2019 02:22:43 PM PDT
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Matlab Compatibility
                  Status: Confirmed
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

First, Octave does not appear to allow strlen arguments less than 4.  In this
case, Octave switches to display '*' even when the value does fit in the
requested strlen.  For example,


s = rats (ones (1,10), 2)


In Matlab, this returns a string which is 30 characters wide (2 for strlen, 1
for a single space between entries).





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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