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

2 次查看(过去 30 天)
How can I change property of a user defined class by using set(my_class,'my_property',my_value)

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Software Development Tools 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by