List of user-managed object types

1 Ansicht (letzte 30 Tage)
Daniel Shub
Daniel Shub am 9 Feb. 2011
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?

Akzeptierte Antwort

Philip Borghesani
Philip Borghesani am 11 Feb. 2011
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.

Weitere Antworten (0)

Kategorien

Mehr zu Graphics Object Programming finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by