Info
此问题已关闭。 请重新打开它进行编辑或回答。
Uigetfile does not open file selection box in standalone app
1 次查看(过去 30 天)
显示 更早的评论
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
2019-7-9
Which MATLAB version are you using? There was a problem like that in roughly R2016b timeframe I think it was.
采纳的回答
更多回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!