フィルターのクリア

How to create folder to split the data

1 回表示 (過去 30 日間)
Atikah Shukor
Atikah Shukor 2019 年 9 月 18 日
回答済み: Sai Bhargav Avula 2020 年 2 月 17 日
Hello.
I need a help. how to create a folder to split the data? for example my data is not organized so i need to organized it into 2 folder which in A folder and B folder.
thank you in advance :)
  1 件のコメント
KALYAN ACHARJYA
KALYAN ACHARJYA 2019 年 9 月 18 日
Atikah Shukor’s Answer moved here —
what the first code need to declare before entry mkdir?

サインインしてコメントする。

回答 (1 件)

Sai Bhargav Avula
Sai Bhargav Avula 2020 年 2 月 17 日
Hi,
mkdir can be used to create a folder and then organize the data accordingly.
Another way is to use the movefile and move the data files to the folder specified.
For example
movefile('organized1_*.mat','folderA')
movefile('organized2_*.mat','folderB')
This particular code moves the all the files name ‘organized1_*.mat’ to folderA and all the files with name ’ organized2_*.mat’ to folderB.
Hope this helps !

カテゴリ

Help Center および File ExchangeStructures についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by