I wanna save *.txt file in specific location like C:\folder1\rio.txt that does not exit and I want to creat root its by m-file. I write below lines but it didn't work ———- addpath('C:\folder1'); fid = fopen('rio.txt','w'); fprintf('0123456789'); fclose(fid)
and beside I have to read the *.txt file again to verify that it saved correctly. *.txt just save in current directory that I already wirte my *.m file,is someone can help me?
Best Answer