Main Content
withNargout
Class: matlab.mock.MethodCallBehavior
Namespace: matlab.mock
Specify mock object method call with defined number of output arguments
Syntax
callBehavior = withNargout(n,behavior)
Description
callBehavior = withNargout(
returns a n
,behavior
)MethodCallBehavior
object to define behavior when mock object
method is called with a defined number of output arguments.
Input Arguments
Examples
Version History
Introduced in R2017a