List of user-managed object types

1 visualizzazione (ultimi 30 giorni)
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?

Risposta accettata

Philip Borghesani
Philip Borghesani il 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.

Più risposte (0)

Categorie

Scopri di più su Graphics Object Programming in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by