Complete list of all warnings the function mkdir may throw

조회 수: 4 (최근 30일)
Guido Hiller
Guido Hiller 2024년 7월 15일
답변: Deepak 2024년 7월 15일
The function mkdir may return a warning. Is there somewhere a complete list of all the warnings this function may throw?

채택된 답변

Deepak
Deepak 2024년 7월 15일
Hi,
There does not exist a comprehensive list of all the warnings that ‘mkdir’ function throws but here are few of the common warnings that ‘mkdir’ throws while creating a directory.
  1. Directory Already Exists - If you try to create a directory that already exists, MATLAB throws a warning ‘Directory already exists’.
  2. Permission Issues - You may receive warnings or errors if you do not have the necessary permissions to create a directory in the specified location.
  3. Invalid Path - If the specified path is invalid or contains illegal characters, mkdir will return an error.
Refer to the ‘mkdir’ documentation for reference –
https://www.mathworks.com/help/matlab/ref/mkdir.html

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품


릴리스

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by