Error in Using Matlab Compiler

Hi, I'm trying to use Matlab Compiler to compile a GUIDE file (named "Calculator") and a couple of .m files that supports the GUI
During the process of packaging/compiling, I received this error in return:
mcc -o Calculator -W WinMain:Calculator -T link:exe -d 'C:\Users\owner dell\Desktop\Gui\App\Calculator\for_testing' -v 'C:\Users\owner dell\Desktop\Gui\Calculator.m' -a 'C:\Users\owner dell\Desktop\Gui\dataset.mat' -a 'C:\Users\owner dell\Desktop\Gui\LSSVMlabv1_8_R2009b_R2011a' -a 'C:\Users\owner dell\Desktop\Gui\objlssvm_slump.m' -a 'C:\Users\owner dell\Desktop\Gui\runlssvm.m' -a 'C:\Users\owner dell\Desktop\Gui\runlssvm.mat' -a 'C:\Users\owner dell\Desktop\Gui\runlssvm_slump.m' -a 'C:\Users\owner dell\Desktop\Gui\runlssvm_slump.mat' -a 'C:\Users\owner dell\Desktop\Gui\Calculator.fig' -a 'C:\Users\owner dell\Desktop\Gui\Calculator.m' -a 'C:\Users\owner dell\Desktop\Gui\slumptest.mat' -a 'C:\Users\owner dell\Desktop\Gui\spso.m' -a 'C:\Users\owner dell\Desktop\Gui\userdata.mat' -r 'C:\Program Files\MATLAB\R2017a\toolbox\compiler\Resources\default_icon.ico'
Compiler version: 6.4 (R2017a)
Dependency analysis by REQUIREMENTS.
Parsing file "C:\Users\owner dell\Desktop\Gui\Calculator.m"
(Referenced from: "Compiler Command Line").
Error: Unable to open file "C:\Users\owner dell\Desktop\Gui\App\Calculator\for_testing\requiredMCRProducts.txt": Permission denied.
Can anyone tell me why did this happen & what can I do next?
Thanks!

2 Comments

I have the exact same problem.
Regina have you maybe solved this problem?
Hi Philipp,
Still no luck here - would you mind sharing your answers if you've found one?
Thanks

Sign in to comment.

Answers (0)

Categories

Products

Release

R2017a

Asked:

on 6 Jan 2021

Commented:

on 21 Feb 2021

Community Treasure Hunt

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

Start Hunting!