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

 Respuesta aceptada

Inherit from hgsetget. Doc says:
hgsetget
Abstract class used to derive handle class with set and get methods
Syntax
classdef myclass < hgsetget

Más respuestas (0)

Categorías

Más información sobre Graphics Object Programming en Centro de ayuda y File Exchange.

Productos

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by