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

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 Commenti

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', ... )
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

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su MATLAB in Centro assistenza e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by