I have created a gui which uses uigetdir in one of the pushbuttons and it works in matlab application, but when converted to standalone application the 'select directory' is not showing up. Any idea to what should be done?
Udit - please claraify what you mean by theselect directory is not showing up. Is this the path that you are passing in (as an input parameter) touigetdir? Are you passing the full path to the selected directory or is it a relative path?
I got the application to work, the error was not with uigetdir but with a report that was not compilable, when i complied the application. I used makeDOMCompilable() as a work around and now it works. Sorry for wasting your time.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
3 Comments
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/405649-uigetdir-not-working-in-standalone-application#comment_578691
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/405649-uigetdir-not-working-in-standalone-application#comment_578691
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/405649-uigetdir-not-working-in-standalone-application#comment_578697
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/405649-uigetdir-not-working-in-standalone-application#comment_578697
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/405649-uigetdir-not-working-in-standalone-application#comment_578699
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/405649-uigetdir-not-working-in-standalone-application#comment_578699
Sign in to comment.