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

1 次查看(过去 30 天)
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.

采纳的回答

KL
KL 2017-11-2
编辑:KL 2017-11-2
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 个评论
saeeda saher
saeeda saher 2017-11-2
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

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Data Import and Export 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by