List of user-managed object types

1 回表示 (過去 30 日間)
Daniel Shub
Daniel Shub 2011 年 2 月 9 日
Some objects in MATLAB (e.g., timer and graphic objects) are "user managed" and require special delete functions to get rid of. Nick Haddad talked about this on Loren's blog a while back.
That blog post provides some rules for determining if an object is user-managed. Is there a list of all user-managed objects?

採用された回答

Philip Borghesani
Philip Borghesani 2011 年 2 月 11 日
I believe that the list of user managed objects in the blog was complete. For MATLAB with no toolboxes the list is:
  1. serial objects
  2. timer objects
  3. all handle graphics objects
  4. file handles (IDs).
Many toolboxes have other objects that fit this model. It is not likely that new classes of objects that are added to MATLAB or toolboxes will follow the user managed model. All of these objects were in MATLAB before the introduction of handle objects and any changes to them would introduce incompatibilities.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGraphics Object Programming についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by