Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Uigetfile does not open file selection box in standalone app

2 ビュー (過去 30 日間)
Mert Karakaya
Mert Karakaya 2019 年 7 月 9 日
閉鎖済み: Walter Roberson 2019 年 7 月 9 日
I have an app that I have designed, that works as a Matlab app. When I export it as a Standalone app, the file selection box from uigetfile does not open. The rest of the functionality (that does not depend on uigetfile) seems to be working fine. This is the code that is not working.
% Button pushed function: YButton
function YButtonPushed(app, event)
[fileY,pathY] = uigetfile({'*.txt','*.csv'});
global Y X;
Y = readmatrix([pathY,'\',fileY]);
if size(X,2)~=size(Y,2)
msgbox('Dataset X has different number of systems than dataset Y, \\ please double check your datasets.');
end
end
  2 件のコメント
Walter Roberson
Walter Roberson 2019 年 7 月 9 日
Which MATLAB version are you using? There was a problem like that in roughly R2016b timeframe I think it was.
Mert Karakaya
Mert Karakaya 2019 年 7 月 9 日
編集済み: Mert Karakaya 2019 年 7 月 9 日
I am using R2019b. The issue is not only with uigetfile, but also with uiputfile and uiprogressdlg.

採用された回答

Mert Karakaya
Mert Karakaya 2019 年 7 月 9 日
The solution to this problem was using Matlab R2018a to compile instead of R2019b. It now works.

その他の回答 (0 件)

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by