MATLAB Answers

Excel access denied with Standalone application

1 view (last 30 days)
Alban du Puytison
Alban du Puytison on 18 Apr 2019
I am using fopen to write the results of my programmation in excel.
I share my program making .exe
I never have any issue before except if the excel file was already open but from yesterday I have an error saying Permission denied.
here is my code
[fid,message] = fopen(strcat(chemin_acces,'\Excel Results\',Option.carsimu,'\','AutoSimu_SetUp.xlsx'),'a');
I have no issue when I am using the application with matlab but only when I use the exe file.
Is there any windows update or anything else which could create the issue?
Thanks in advance.

Answers (0)




Community Treasure Hunt

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

Start Hunting!