Dir on UNIX does not return .folder subfield

5 ビュー (過去 30 日間)
Joe_Z
Joe_Z 2019 年 10 月 6 日
コメント済み: Joe_Z 2019 年 10 月 6 日
I am trying to use a matlab script built in windows on linux . Use of the dir command does not return the .folder subfield (though it returns the others without issue), and unfortunately I can't find much information on this. I am also accessing via a remote connection to a computer cluster, so am not sure if it is most likely related to this or the use of matlab on unix (or maybe it is becase the version is 2016a on linux system vs. 2019a I am using on windows). Could anyone inform as to why this might occur/advise on any workarounds?
Many Thanks.

採用された回答

Stephen23
Stephen23 2019 年 10 月 6 日
This has nothing to do with Unix vs. Windows OS. The feature of recursive folder searching and returning the folder was introduced in R2016b:
For earlier versions you can try some of the FEX submissions that perform recursive folder searches:
  1 件のコメント
Joe_Z
Joe_Z 2019 年 10 月 6 日
Great many thanks Stephen

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeFile Operations についてさらに検索

製品


リリース

R2016a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by