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

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

[Octave-bug-tracker] [bug #59950] exist function


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #59950] exist function
Date: Sat, 30 Jan 2021 11:35:49 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Firefox/52.0

Follow-up Comment #6, bug #59950 (project octave):

Matlab r2020a prerelease, Mageia 7.1:

>> format compact
>> exist (int16([]))
ans =
     0
>> exist (int16([]), '')
ans =
     0
>> exist (int16([]), rand(3))
ans =
     0
>> exist (int16([]), table())
ans =
     0
>> exist (int16([]), table({'foo','bar'}))
ans =
     0
>> exist (table())
Error using exist
The first input to exist must be a string scalar or character vector. 
>> exist (table(), '')
ans =
     0
>> exist (table(), rand(3))
Error using exist
The first input to exist must be a string scalar or character vector. 
>> exist (table(), table())
Error using exist
The first input to exist must be a string scalar or character vector. 
>> exist (table(), table({'foo', 'bar}))
 exist (table(), table({'foo', 'bar}))
                               ↑
Error: Character vector is not terminated properly.
 
>> exist (table(), table({'foo', 'bar'}))
Error using exist
The first input to exist must be a string scalar or character vector. 
>> 



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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