uigetdir not working in standalone application

3 次查看(过去 30 天)
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?
  3 个评论
Udit Dhand
Udit Dhand 2018-6-14
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.
Image Analyst
Image Analyst 2018-6-14
Still, if you're using R2018a, you will have a problem, as I mentioned in my Answer below.

请先登录,再进行评论。

采纳的回答

Image Analyst
Image Analyst 2018-6-14
This is a known bug in release R2018a.
You either have to use the workaround they suggest, or go back to R2017b.
  3 个评论
Anton Kullberg
Anton Kullberg 2018-7-19
It works for me using update 4. Try reinstalling update 4 perhaps?

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Application Deployment 的更多信息

产品


版本

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by