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

조회 수: 19 (최근 30일)
Alexandra Rowan O'Donnell
Alexandra Rowan O'Donnell 2019년 4월 16일
댓글: 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 CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by