Error with uigetdir and uigetfile in a Standalone Application (applicationCompiler)
Mostrar comentarios más antiguos
I made a standalone application from a main script, but at a certain point I get this error:
Unable to resolve the name
'matlab.ui.internal.dialog.FileDialog Helper.is Deployed Env'
I know that there are problems with uigetdir and uigetfile, as a matter of fact I used uigetdir_workaround function as suggested from another user and now I can select the directory, but I don't find a solution for uigetfile.
thispath=uigetdir_workaround(pwd,'Select the directory containing .tdf files of the desired subject');
%% Ask user to select tests files
for t=1:n_test
[name,path] = uigetfile('*.tdf',"Select file of " + testslist{t} + " FRP test", thispath);
3 comentarios
dpb
el 25 de En. de 2023
I've got several compiled apps w/ R2020b using both uigetdr and uigetfile and have seen no issues...although I did just find an old thread that indicates there was a known bug in R2018a that another respondent noted was patched...
You wouldn't possibly have an old version of the runtime installed, perchance???
A search of bug database didn't find anything for uigetdir for R2022x
Marco Dal Corso
el 26 de En. de 2023
Editada: Marco Dal Corso
el 26 de En. de 2023
dpb
el 26 de En. de 2023
This is not official TMW support and may not be seen by anybody from TMW. Think you would need to contact TMW support directly.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre App Building en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!