Info
Cette question est clôturée. Rouvrir pour modifier ou répondre.
Will an app run an mfile after cmpiling if working directory is not the exe installation directory ?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi all
I have an mfile with some other function mfiles that this main mfile runs them all inside a main folder.there are also subfolders that include the input files and output files to be created.
I need to make an interface, an app, but also compile the file to Exe. so since in the app code, I use the user input uigetdir to run the main mfile in that main folder, after making the exe file, there will be no more mfile there !!!
So how should I handle this ? should I incorporate the main mfile inside the app line ? how about the other mfiles that are functions ?
4 commentaires
Geoff Hayes
le 19 Mar 2020
farzad - perhaps I've misunderstood your original question, but presumably all the functions that you need will be compiled into your app (or there must be a way to ensure that those files are included at compile time). Unfortunately, I don't have the toolbox to create an exe and so am unsure of what really happens. Perhaps you add the files with Add Files described at Create Standalone Application Using Application Compiler App.
Réponses (0)
Cette question est clôturée.
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!