"run()" command in compiled .m-Script does not work
Show older comments
Hello,
I created an .m-script with the following line of code:
run('G:\temppath\tempapp.mlapp');
When I prompt this command in the command window the app starts well.
Now I created an ".exe-file" of the m.-script with "MATLAB Compiler". The Problem is, when I start the app I get the following error-message:
"RUN cannot execute the file 'G:\temppath\tempapp.mlapp'. RUN requires a valid MATLAB script"
Can anyone tell me where the problem could be?
Thanks and regards
Nico
Accepted Answer
More Answers (0)
Categories
Find more on MATLAB Compiler SDK in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!