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

20 vues (au cours des 30 derniers jours)
Alexandra Rowan O'Donnell
Alexandra Rowan O'Donnell le 16 Avr 2019
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 commentaires
Adam
Adam le 16 Avr 2019
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 le 16 Avr 2019
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

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur MATLAB dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by