Borrar filtros
Borrar filtros

Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Will an app run an mfile after cmpiling if working directory is not the exe installation directory ?

2 visualizaciones (últimos 30 días)
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 comentarios
Geoff Hayes
Geoff Hayes el 19 de Mzo. de 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.
farzad
farzad el 19 de Mzo. de 2020
I tried that , what happens is that the mfiles are copied in the installation folder, and only the app is compiled into the EXE file

Respuestas (0)

La pregunta está cerrada.

Community Treasure Hunt

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

Start Hunting!

Translated by