I created a csv file in which i created three column file, pixels and usage i want to create 3 folders.

1 Ansicht (letzte 30 Tage)
file column has numbers 0,1 and 2 i want to create three folders and want to name them 0 ,1 and 2, kindly help me.

Akzeptierte Antwort

KL
KL am 2 Nov. 2017
Bearbeitet: KL am 2 Nov. 2017
mkdir creates a new folder
usage example,
for k=1:yourMax
%your things
[status, msg, msgID] = mkdir(['newFolder_' num2str(k)])
%do your thing
end
  2 Kommentare
saeeda saher
saeeda saher am 2 Nov. 2017
the folders have been created and i imported the csv file which contains the following data rows and columns: file value 0 1 2 3 4 5 6 7 8 9 0 1 11 12 13 14 15 16 17 18 19 20 2 21 22 23 24 25 26 27 28 29 30
i want to save the column value data in to respective folders. the first raw 0's values into the 0 folder the second raw 1's values into the 1 folder as text files. kindly help me

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Data Import and Export finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by