How to make user-defined type pass as numeric?
古いコメントを表示
Suppose I have a defined type that behaves like a number. I would like it to pass the test:
validateattributes(x, {'numeric'}, {})
It's not enough, apparently, to overload the function isnumeric.m. What else needs to be done?
Thanks, n
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Phased Array System Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!