フィルターのクリア

in GUI , how to make the handles be used in my function?

2 ビュー (過去 30 日間)
Roger
Roger 2015 年 4 月 11 日
編集済み: Roger 2015 年 4 月 11 日
use global or sth. ? Is there any way?
when i create my function , it occurs error: Attempt to reference field of non-structure array.

採用された回答

Roger
Roger 2015 年 4 月 11 日
編集済み: Roger 2015 年 4 月 11 日
ok, i found one way ,just set the handles as a parameter and pass it to my function.
function myfun(handles,params)

その他の回答 (1 件)

Stephen23
Stephen23 2015 年 4 月 11 日
Have a look in the documentation:
The best practice is to pass arguments to functions... you should try this!

カテゴリ

Help Center および File ExchangeTitle についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by