フィルターのクリア

Pushbutton sends app designer panel to the back.

1 回表示 (過去 30 日間)
Stephen Marsden
Stephen Marsden 2024 年 5 月 14 日
コメント済み: Adam Danz 2024 年 5 月 14 日
I have an app with two buttons that use uigetfile to open a file, then the third processes them. When I push either of the first two buttons, it pushes the panel to the back. It looks like it has crashed. I have to click on tabs to get the panel back to the front to proceed. I have to process quite a few files. It seems there should be an easy solution, but it eludes me.
properties (Access = private)
RNETPath
RNETTable
KTMTable
end
% Callbacks that handle component events
methods (Access = private)
% Button pushed function: ReadRNETButton
function ReadRNETButtonPushed(app, event)
[RNETFilename, app.RNETPath]=uigetfile("*.csv");
% app.StatusEditField.Value='Read and Process Test Iads';
% Combine filename and path strings
RNETFileandPath=append(app.RNETPath,RNETFilename);
app.RNETTable = readtable(RNETFileandPath);
%
end
% Button pushed function: ReadKTMButton
function ReadKTMButtonPushed(app, event)
[KTMFilename, KTMPath]=uigetfile("*.csv");
%
% Combine filename and path strings
%
KTMFileandPath=append(KTMPath,KTMFilename);
app.KTMTable = readtable(KTMFileandPath);
end
  2 件のコメント
Dinesh
Dinesh 2024 年 5 月 14 日
The issue seems to be with how the UI is configured and not with these "ButtonPushed" callbacks. Can you share the app designer file so that I can look into this?
Stephen Marsden
Stephen Marsden 2024 年 5 月 14 日
This is the export file from app designer.

サインインしてコメントする。

回答 (1 件)

Adam Danz
Adam Danz 2024 年 5 月 14 日
Thanks for describing the problem.
This is a known issue (previous reports: 1, 2, and others).
This has been fixed in the R2024a beta release and the fix will be available in the general release in a (very near) future release.
  2 件のコメント
Stephen Marsden
Stephen Marsden 2024 年 5 月 14 日
Can I access the beta release?
Adam Danz
Adam Danz 2024 年 5 月 14 日

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeDevelop Apps Using App Designer についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by