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일

0 개 추천

I have found the error. OrdnerNamen{1,1+2} wasn't filled with the exact string.

카테고리

도움말 센터File Exchange에서 Data Import from MATLAB에 대해 자세히 알아보기

태그

질문:

2017년 6월 3일

답변:

2017년 6월 3일

Community Treasure Hunt

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

Start Hunting!

Translated by