Do you use auto-update for MATLAB Objects?

2 vues (au cours des 30 derniers jours)
David Garrison
David Garrison le 8 Déc 2022
Commenté : Chris le 26 Jan 2023
The MATLAB object system has a feature called auto-update. If you create objects of class A, then update the definition of class A, all existing objects of class A automatically get the new definition. A few questions for the community.
  • Were you aware of this feature?
  • Do you use the auto-update feature of MATLAB objects?
  • How do you use this feature?
  1 commentaire
Chris
Chris le 26 Jan 2023
I was aware because I've noticed its effects, and I use it with an air of trepidation.
If adding a property or a simple method, I might continue working with the current object as I develop the class, but I don't do anything creative with auto-update. I've not thought before tonight about how it would work with, for instance, a modified constructor. In uncertain situations it's not usually much of a hassle to simply regenerate the object.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Software Development Tools dans Help Center et File Exchange

Produits


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by