Clear Filters
Clear Filters

AppDesigne​rでコンポーネントと​コールバックが入れ替​わる不具合

1 view (last 30 days)
良文
良文 on 26 Jan 2024
AppDesignerを使ってアプリを作っていますが、作成中に既に設定してあったコンポーネントが呼び出すコールバックや、コールバック関数がかなり入れ替わっていたり、下記のようにコールバック関数とコメントの不整合などが発生していることがわかりました。原因と対策方法を教えてください。
% Button pushed function: K_fileBtn
function M_fileBtnButtonPushed(app, event)
filename = app.M_Txt.Value; app.CheckOK = false;
persistent FilePathM
WindowMessage = '質量行列Mの選択';
[FilePathM, app.M_Txt.Value, app.UpdateMCB.Value] = funcSetFile(app, filename, FilePathM, WindowMessage);
app.UIFigure.WindowStyle = 'modal';
end

Answers (0)

Categories

Find more on App Designer を使用したアプリ開発 in Help Center and File Exchange

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!