Main Content

propagatedInputFixedSize

Fixed-size status of input during金宝apppropagation

Syntax

flag = propagatedInputFixedSize(obj,index)

Description

flag= propagatedInputFixedSize(obj,index)returnstrueorfalseto indicate whether an input argument of a System object™ is fixed size.indexspecifies the input for which to return the fixed-size flag.

You can usepropagatedInputFixedSizeonly from withinisOutputFixedSizeImpl. UseisOutputFixedSizeImplwhen:

  • Your System object has more than one input or output.

  • The input fixed-size status determines the output fixed-size status.

  • The output fixed-size status must differ from the input fixed-size status.

Input Arguments

expand all

System object handle used to access properties, states, and methods specific to the object. If yourpropagatedInputFixedSizemethod does not use the object, you can replace this input with~.

Index of the specified input. Do not count theobjin theindex. The first input is alwaysobj.

Output Arguments

expand all

Fixed-size status of the specified input, returned astrueorfalse.

Examples

expand all

Get the fixed-size status of the third input and set the output to match it. Assume that the first and second inputs have no impact on the output.

methods (Access = protected)functionouttype = isOutputFixedSizeImpl(obj) outtype = propagatedInputFixedSize(obj,3)endend

Version History

Introduced in R2014a