what's wrong in this save command : save ./file1/FILE B -ASCII ?

18 ビュー (過去 30 日間)
chocho
chocho 2017 年 4 月 14 日
コメント済み: chocho 2017 年 4 月 14 日
Hi, guys, I have used this command to save FILE as text-file, but sadly i got this error. i google it and checked many source code using save but only find this format save(filename) however i need this command to work in my issue
Error using save
Cannot create 'FILE' because './file1' does not exist.
note thats i'm using MATLAB R2012a
plz, I appreciated any help.
  2 件のコメント
Stephen23
Stephen23 2017 年 4 月 14 日
編集済み: Stephen23 2017 年 4 月 14 日
save ./file1/FILE B -ASCII
Clearly there is no such folder file1 in the location given (which is the current directory, and possibly not the location that you think it is). However, that is not MATLAB's fault: you are telling it to save a file in a location that does not exist. What do you want to happen?
chocho
chocho 2017 年 4 月 14 日
@Stephen Cobeldick I strongly appreciate your help bro you save me a lot !

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

回答 (0 件)

カテゴリ

Help Center および File Exchange文件操作 についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!