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

조회 수: 2 (최근 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에서 File Operations에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by