Filter löschen
Filter löschen

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

1 Ansicht (letzte 30 Tage)
良文
良文 am 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

Antworten (0)

Kategorien

Mehr zu App Designer を使用したアプリ開発 finden Sie in Help Center und File Exchange

Produkte


Version

R2021b

Community Treasure Hunt

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

Start Hunting!