フィルターのクリア

Why does it not work on Mac?

1 回表示 (過去 30 日間)
Christoph Thale
Christoph Thale 2017 年 6 月 3 日
回答済み: Christoph Thale 2017 年 6 月 3 日
Hi,
I try to read out all the Excel sheets of a specific folder. Normaly I am using these code on a windows computer and it works fine.
path = '/Users/christoph/Documents/Measurement/Bachelor/'
files = dir([path]);
OrdnerNamen = {files.name};
files = dir([path OrdnerNamen{1,1+2} '/*.xls']);
Auftragsliste_Ordner = {files.name};
But on my own Mac it does not work. The cell of "Auftragsliste_Ordner" ist empty. Did I fail the syntax?
Thanks for helping.

回答 (1 件)

Christoph Thale
Christoph Thale 2017 年 6 月 3 日
I have found the error. OrdnerNamen{1,1+2} wasn't filled with the exact string.

カテゴリ

Help Center および File ExchangeData Import from MATLAB についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by