How can I change property of a user defined class by using set(my_cla​ss,'my_pro​perty',my_​value)

1 vue (au cours des 30 derniers jours)
How can I change property of a user defined class by using set(my_class,'my_property',my_value)

Réponse acceptée

per isakson
per isakson le 17 Mai 2013
Inherit from hgsetget. Doc says:
hgsetget
Abstract class used to derive handle class with set and get methods
Syntax
classdef myclass < hgsetget

Plus de réponses (0)

Catégories

En savoir plus sur Graphics Object Programming dans Help Center et File Exchange

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by