書き込み権限について

52 views (last 30 days)
Motoki Hatsuda
Motoki Hatsuda on 21 Oct 2022
Commented: Motoki Hatsuda on 23 Oct 2022
pcwriteを含むコードを実行すると、以下の警告が出てきます
以前は同じコードでも問題なく実行できたのですが、解決策が分かる方はいますでしょうか?
  2 Comments
Atsushi Ueno
Atsushi Ueno on 21 Oct 2022
状況が判らず何とも言えませんが、エラーメッセージの示す通り該当するファイルやフォルダにアクセス権限が無いと書き込めないので、確認する必要があります。
fileattrib % Windows で現在のフォルダー属性を表示。UserWrite権限がある(1)かどうか
Name: '/users/mss.system.mV7bvq' archive: NaN system: NaN hidden: NaN directory: 1 UserRead: 1 UserWrite: 1 UserExecute: 1 GroupRead: 1 GroupWrite: 0 GroupExecute: 1 OtherRead: 1 OtherWrite: 0 OtherExecute: 1
ls -al % linux環境であればlsコマンドにオプションを付けて実行可能
total 8 drwxr-xr-x 2 mluser worker 4096 Oct 21 09:27 . drwx------ 1 mluser worker 4096 Oct 21 09:27 ..
Motoki Hatsuda
Motoki Hatsuda on 23 Oct 2022
返信遅くなりました アクセス許可がなかったので許可したら無事出来ました ありがとうございます

Sign in to comment.

Answers (0)

Categories

Find more on 起動と終了 in Help Center and File Exchange

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!