save to datafile

조회 수: 5 (최근 30일)
Tor Fredrik Hove
Tor Fredrik Hove 2011년 10월 14일
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
Jan
Jan 2011년 10월 14일
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.

댓글을 달려면 로그인하십시오.

채택된 답변

Jan
Jan 2011년 10월 14일
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개)

카테고리

Help CenterFile Exchange에서 Workspace Variables and MAT Files에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by