save to datafile
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
This is how they saved a matrix in my book:
I tried to save one myself but it did not work:
What did I do wrong?
1 Kommentar
Jan
am 14 Okt. 2011
Please post the text as text. Using picture links is less convenient for reading. E.g. I cannot copy&paste your command to insert the needed space.
Akzeptierte Antwort
Jan
am 14 Okt. 2011
There must be a sapce before '-ascii':
save twothree.dat mymat -ascii
This abbreviated form without parenthesis should be more convenient. In the full also called functional form, the command is:
save('twothree.dat', 'mymat', '-ascii')
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Workspace Variables and MAT 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!