creating folder in matlab
11 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
how can i create a folder in matlab which will store all my text files in it
0 Commenti
Risposte (2)
Chunru
il 14 Lug 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 Commenti
Vedere anche
Categorie
Scopri di più su Workspace Variables and MAT Files in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!