Error using save, Unable to write file: Invalid argument.

6 ビュー (過去 30 日間)
Alexandra Rowan O'Donnell
Alexandra Rowan O'Donnell 2019 年 4 月 16 日
Hey y'all,
I've never had this problem with other scripts I've run but all of a sudden when I try and finish off and save my results, I'm getting this error:
>> if duration==1; save result_param1 xx yy vv xyloc EEPss ChanLoc xqs yqs vqs vs im ;end
Error using save
Unable to write file result_param1: Invalid argument.
I'm using R2018b if that helps!
  2 件のコメント
Adam
Adam 2019 年 4 月 16 日
Seems to work fine for me when I tested with an example of my own, although why you would use that syntax rather than the much more readable function syntax I don't know! e.g.
save( 'myFilename.mat', 'myParam1', 'myParam2', ... )
Alexandra Rowan O'Donnell
Alexandra Rowan O'Donnell 2019 年 4 月 16 日
The only reason I'm using that syntax is because it's not actually my code, it's my postdoc's, and I've changed so much of it already I'm trying not to rewrite the whole thing haha

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeMATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by