How to write a class with validators such that I can specify the default values?
Show older comments
I want to write a class where I want to fix certain variables with some validators, like {mustBeNumeric} and {mustBePositive} but I want to specify the defualt values which can be updated later. Is there any way to do this?
Accepted Answer
More Answers (0)
Categories
Find more on Properties in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!