how to get an output from the command window into a text file?? plz answer ,its very necessary
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
srinivas sri
am 13 Okt. 2013
Kommentiert: sixwwwwww
am 13 Okt. 2013
i have a set of coordinates which i got after processing an image ,now i want to those coordinates in form a text file to apply them as an input to another application,,,..
0 Kommentare
Akzeptierte Antwort
sixwwwwww
am 13 Okt. 2013
Bearbeitet: sixwwwwww
am 13 Okt. 2013
Dear Srinivas Sri, for example you have coordinates in the form of 'x' and 'y' array then you can write it in a text file using "dlmwrite" function like this:
x = 1:20;
y = 2:2:40;
M = [x' y'];
disp(M)
dlmwrite(filename, M, '\t')
10 Kommentare
Weitere Antworten (0)
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!