time | Calls | line |
---|
| | 543 | function obj = setCustomProps(obj,customPropStruct)
|
| | 544 | % SETCUSTOMPROPS directly assigns customPropStruct into the
|
| | 545 | % customProps property, updates the instance's state
|
| | 546 | % accordingly. It does NOT perform error-check on
|
| | 547 | % customPropStruct.
|
< 0.001 | 6 | 548 | if isstruct(customPropStruct) && isscalar(customPropStruct)
|
< 0.001 | 6 | 549 | obj.customProps = customPropStruct;
|
< 0.001 | 6 | 550 | obj.hasCustomProps = ~isempty(fieldnames(customPropStruct));
|
< 0.001 | 6 | 551 | end
|
< 0.001 | 6 | 552 | end
|
Other subfunctions in this file are not included in this listing.