Error in GUI

2 ビュー (過去 30 日間)
Ean Soo
Ean Soo 2011 年 3 月 18 日
Hie guys, can i know where is the error when this appear in my command window when i run my GUI.
??? Undefined function or method 'maingui' for input arguments of type 'struct'.
??? Error while evaluating uicontrol Callback
Regards, Ean

採用された回答

Walter Roberson
Walter Roberson 2011 年 3 月 18 日
What is the name that you are invoking your gui under, and how are you invoking it from the command line? Is it "maingui"? The error message you receive is suggestive that you have a created a Callback routine that attempts to invoke the routine "maingui" without providing the "source" and "event" parameters to it. That could happen if your code has
... 'Callback', 'maingui', ...
instead of
... 'Calback', @maingui, ...
  1 件のコメント
Ean Soo
Ean Soo 2011 年 3 月 18 日
Found my error.Thanks

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

その他の回答 (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