1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

【MATLAB】it appears to be corrupt?変数をファイルに保存できないときの解決策

Posted at

状況:ファイルに保存できない

MATLAB でワークスペース変数をファイルに保存しようとすると..

save('/卒論/a.mat', 'A')

以下のようなエラーが出てしまいました

Error using save
Unable to write to file '/卒論/a.mat' because it appears to be corrupt.

解決策:ファイルのパスに日本語を含めるな!!

ファイルのパスに日本語を含まないようにすると,上手く保存できるようになりました!分かってしまえば簡単なことなのですが,このことに気づくのに半日くらいかかってしまいました..

もし同じようなエラーに直面した方がいらっしゃいましたら,参考にしていただけると嬉しいです!

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?