
blockPlaceholderLogical
Output a placeholder signal
Information
This block enables replacing a variable that is conditionally
removed with either a parameter or another input variable.
-
If the parameter
have_inp is true, the output variable
y is equal to the input variable u.
-
If the parameter
have_inp is false and the
parameter have_inpPh is true, the output variable
y is equal to the input variable uPh.
-
If the parameter
have_inp is false and the
parameter have_inpPh is false, the output variable
y is equal to the parameter u_internal.
Parameters
| Type | Name | Default | Description |
| Boolean | have_inp | true | Set to true if input signal is available |
| Boolean | have_inpPh | false | Set to true if placeholder value is provided with input signal |
| Boolean | u_internal | | Placeholder value if input signal is not available |
Revisions
-
March 29, 2024, by Antoine Gautier:
First implementation.