Complexity of output ports
[cp_1,cp_2,...,cp_n] = isOutputComplexImpl(obj)
[cp_1,cp_2,...,cp_n] = isOutputComplexImpl(obj) returns
whether each output port has complex data. The number of outputs must
match the value returned from the
or the number of output arguments listed in the
For System objects with one input and one output and where you
want the input and output complexities to be the same, you do not
need to implement this method. In this case
the input and output complexities are the same and returns the complexity
of the input.
If your System object has more than one input or output or you
need the output and input complexities to be different, you must implement
isOutputComplexImpl method to define the output
complexity. You also must use the
if the output complexity differs from the input complexity.
During Simulink® model compilation and propagation, the MATLAB System block calls the
which then calls the
isOutputComplexImpl method to
determine the output complexity.
You must set
You cannot modify any properties in this method.
System object™ handle
Logical, scalar value indicating whether the specific output
port is complex (