Negate

This block implements the unary minus operation.

    Negate

Library

MathOperations

Description

This block implements the unary minus operation.

Parameters

Negate_0

NameLabelDescriptionData TypeValid Values

overflow

Do on overflow (for integers)

This parameter defines the way overflow shoudl behandled for integer datatype.

String

'Nothing'
'Saturate'
'Error'

externalActivation

External activation

The same number of activation inputs as regular inputs are added to the block when selected. The external activation determines which input to be copied to the output. Default is OFF.

Number

0
1

Ports

NameTypeDescriptionIO TypeNumber

Port 1

explicit

output

1

Port 2

explicit

input

1

Port 3

activation

input

externalActivation

Advanced Properties

NameValueDescription

always active

no

direct-feedthrough

yes

zero-crossing

no

mode

no

continuous-time state

no

discrete-time state

no