Access denied when using mkdir in the plugins Excel

I am creating a plugins to use it in excel, and it generates me access denied error when mkdir is executed to create a folder in my current directory, how can I solve it?

댓글 수: 3

Jan
Jan 2019년 7월 9일
Do you have write access to the current folder? Please check this again.
Yes, the write permission is activated. The program works from matlab, it does not send any errors. The problem arises when using the function from Excel.
Relying on current directory is always iffy. Use full paths. In particular, in compiled code the working/current directory is usually not the same as you get from interactive sessions.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Data Import from MATLAB에 대해 자세히 알아보기

질문:

2019년 7월 9일

댓글:

2019년 7월 9일

Community Treasure Hunt

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

Start Hunting!

Translated by