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 Commenti

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.

Accedi per commentare.

Risposte (0)

Categorie

Commentato:

il 9 Lug 2019

Community Treasure Hunt

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

Start Hunting!

Translated by