... | ... | @@ -18,6 +18,10 @@ When using this module, place it in the model window and connect the desired num |
|
|
|
|
|
Once the function has been defined, click on OK and the function will be incorporated into the model. Please note that it is up to the user to ensure the validity of entered functions and values, e.g., only positive values for logarithms, no negative values for square roots, no divisions by zero, etc. Also, sine and cosine values should, by default, be given in radians. If angles in degrees are desired, use the `sindeg(), cosdeg()` versions.
|
|
|
|
|
|
#### Some Valid Expressions Are (Placed in the Expression Field of the Simulink Part)
|
|
|
- `sin(u[1])`
|
|
|
- `sin(u[1])+cos(u[2])+log10(u[3])*fabs(u[4])/sqrt(u[5])`
|
|
|
- `lceil(u[1])`
|
|
|
|
|
|
|
|
|
## Examples
|
... | ... | |