Determining if a variable is a function handle

Is there a function to determine if a variable is a function handle? ishandle works only for graphics or Java object handles.
Thanks

 採用された回答

Walter Roberson
Walter Roberson 2013 年 11 月 26 日
編集済み: Walter Roberson 2013 年 11 月 26 日

5 投票

isa(YourVar,'function_handle')

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeCreating, Deleting, and Querying Graphics Objects についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by