[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #60555] Behavior of strcat in Octave is differ
From: |
Markus Mützel |
Subject: |
[Octave-bug-tracker] [bug #60555] Behavior of strcat in Octave is different of the behavior in Matlab |
Date: |
Sat, 8 May 2021 06:42:47 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36 Edg/90.0.818.51 |
Update of bug #60555 (project octave):
Status: None => Duplicate
Open/Closed: Open => Closed
Depends on: => bugs #50855
_______________________________________________________
Follow-up Comment #1:
Double quotes in Matlab create string objects. In Octave, they create
character arrays. (See bug #50855.)
If I run your example (but with character arrays) in Matlab R2021a, I get the
same result:
>> strcat('Hello, ', 'how are you?', ' ', 'Nice weather today!')
ans =
'Hello,how are you?Nice weather today!'
So the strcat function in Octave seems to be compatible with Matlab.
Closing as a duplicate of bug #50855.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?60555>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/