problem Save function?

1 次查看(过去 30 天)
LuS
LuS 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 中查找有关 Manage Products 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by