Info

この質問は閉じられています。 編集または回答するには再度開いてください。

display .csv filenames in directory in string format

1 回表示 (過去 30 日間)
William
William 2013 年 1 月 16 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
Greetings,
I am trying to list all the .csv files in a folder. So fare I am getting a list of all the possible files in a struct but no list of files can someone look at this and tell me what I am doing wrong?
Chicklet_File_list = what(fullfile( 'C:\Documents\MATLAB/*.csv'))
It returns this:
Chicklet_File_list =
0x1 struct array with fields:
path
m
mat
mex
mdl
slx
p
classes
packages
Not exactly what I need but this is directly from the matworks help files

回答 (1 件)

Image Analyst
Image Analyst 2013 年 1 月 16 日
This is well covered in the FAQ

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by