필터 지우기
필터 지우기

problem Save function?

조회 수: 1 (최근 30일)
LuS
LuS 2015년 9월 22일
댓글: Star Strider 2015년 9월 22일
Hi,
I have this line in my script and the persisting error is:
save(outname,'d','ml','t','s','SD','aux');
Error using save Argument must contain a string.
Any idea why?
Many thanks!

채택된 답변

Star Strider
Star Strider 2015년 9월 22일
You didn’t tell us what ‘outname’ is, but it should be something like:
outname = 'MyFile.mat';
The filename must itself be a string, and it is best if it is specifically declared as a .mat file with the .mat extension to avoid confusion with workspace variable names.
  댓글 수: 4
LuS
LuS 2015년 9월 22일
Thank you very much :)
Star Strider
Star Strider 2015년 9월 22일
My pleasure!
The sincerest form of appreciation here on MATLAB Answers is to Accept the Answer that most closely solves your problem.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Programming에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by