OmlExpression

The output of this block is obtained by evaluating the OML expression specified as a block parameter. The expression is evaluated at run time by the OML interpreter. The variable names u1,...un designate the block inputs in this expression (ui designates the ith input value; u may be used in place of u1). The expression may contain parameters defined in the contexts of the diagram, and functions and parameters defined in the OML environment when the model is simulated. Note that functions and parameters named u, u1, u2,..., will be shadowed by the input variables.

    OmlExpression

Library

MathOperations

Parameters

OmlExpression_0

NameLabelDescriptionData TypeValid Values

nin

Number of inputs

Number

work

Workspace Evaluation

exx

OML expression

String

outsz

Output size

Vector of size 2

outtp

Complex output

Number

0
1

externalActivation

External activation

Number

0
1

Ports

NameTypeDescriptionIO TypeNumber

Port 1

explicit

output

1

Port 2

explicit

input

nin

Port 3

activation

input

externalActivation