Read the current exe file name after compiling
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hello everyone,
I converted an m file to exe, and it(exe) creates a copy of its own with different name. According to their name, they should do different tasks. Now when I try to run the exe file with 'mfilename' it reads the original m file name, not the exe file name. Can anyone show me the right direction?
Thanks
3 Commenti
Daniele Sonaglioni
il 4 Nov 2021
I think that the problem is in which way you create your exe file: probably creating a standalone app will solve your problem.
Risposta accettata
Più risposte (0)
Vedere anche
Categorie
Scopri di più su MATLAB Compiler in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!