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 Comments

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.

Sign in to comment.

Answers (0)

Categories

Asked:

on 9 Jul 2019

Commented:

on 9 Jul 2019

Community Treasure Hunt

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

Start Hunting!