cannot find the subfolder created by mkdir command (MATLAB R2017b on Mac)

4 ビュー (過去 30 日間)
Frank Jiang
Frank Jiang 2018 年 1 月 5 日
コメント済み: Frank Jiang 2018 年 1 月 8 日
I used the mkdir command to create a subfolder under my current folder, as follows: mkdir newdir I could see that in the command window when I type in dir command, but cannot find it in my finder on Mac (file manager on Windows) and cannot save a file under that folder too.
Is there a way that I could effectively create a subfolder and save files in that folder?
  2 件のコメント
Chris Perkins
Chris Perkins 2018 年 1 月 8 日
Hi Frank,
If you run the following command, what output do you get?
[status,msg,msgID] = mkdir('newdir')
Can you 'cd' into the new directory after using "mkdir"?
In addition, what error message(s) do you see when you try to save a file into that new folder in MATLAB R2017b?
Frank Jiang
Frank Jiang 2018 年 1 月 8 日
Thank you very much. The code you provide works well. I could see that folder now. However, I don't understand why lol.

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeFile Operations についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by