bugGNU Octave - Bugs: bug #57007, rats does not fully respect strlen...

 
 

bug #57007: rats does not fully respect strlen argument

Submitted by:  Rik <rik5>
Submitted on:  Sat 05 Oct 2019 09:22:43 PM UTC  
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Matlab Compatibility
Status:  Confirmed Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  dev Operating System:  Any

Add a New Comment (Rich Markup)
   

You are not logged in

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

 

Sat 05 Oct 2019 09:22:43 PM UTC, original submission:  

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).

Rik <rik5>
Project 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 rik5 (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

     

     

    No changes have been made to this item

    Back to the top


    Powered by Savane 3.5