creating folder in matlab
13 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
how can i create a folder in matlab which will store all my text files in it
0 Kommentare
Antworten (2)
Chunru
am 14 Jul. 2022
% create folder (in current folder)
folder = "mydir";
mkdir(folder);
% save data in a file in the folder
a = rand(3);
save(fullfile(folder, 'test.txt'), 'a', '-ascii');
% show the file
type mydir/test.txt
3 Kommentare
Siehe auch
Kategorien
Mehr zu Text Files 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!