[Top][All Lists]

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

[Octave-bug-tracker] [bug #58976] dir('fname/v*') returning v* contents

From: Rik
Subject: [Octave-bug-tracker] [bug #58976] dir('fname/v*') returning v* contents when only one v* folder present
Date: Thu, 3 Sep 2020 18:23:57 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36

Follow-up Comment #2, bug #58976 (project octave):

My testing with R2020A shows that Matlab always returns the directory name,
rather than the contents of the the subdirectory.

So, for a single directory v0 the return value is a scalar struct with the
isdir field set to 1.  With multiple directories, it returns a struct array
with "v0", "v1", etc. and isdir field set to 1 always.


Reply to this item at:


  Message sent via Savannah

reply via email to

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