フィルターのクリア

The right way to create a user function inside a GUIDE

5 ビュー (過去 30 日間)
Pengfei Wang
Pengfei Wang 2020 年 7 月 29 日
回答済み: Pengfei Wang 2020 年 7 月 30 日
The gui have an axes and a table, the ideal is when the user changed some shared data, then both the axes and table are need to be updated.
How can I add a self-defined function inside this gui to update both axes and table?
I tried something like this, but the M file IDE tells that "nesting too deep"
function updatedAxes()
if dataChanged
%update axes
%update table
else
%something else
end
end
  2 件のコメント
Pengfei Wang
Pengfei Wang 2020 年 7 月 30 日
Great, This is exact same error in my code.
Just delete the 'end' which paired with your 'function'.
Thanks a lot.

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

採用された回答

Pengfei Wang
Pengfei Wang 2020 年 7 月 30 日
Find Solution: delete the 'end' which paired with your 'function'

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by