Main Content
when
Class: matlab.mock.PropertySetBehavior
Namespace: matlab.mock
Specify mock object property set action
Syntax
when(behavior,action)
Description
when(
specifies
the action that a mock object property takes when it is set.behavior
,action
)
Input Arguments
Examples
Version History
Introduced in R2017a