# error

Display error message and terminate execution

### error(S)

• S should be a character array.
• Escape characters, such as \n, are not supported.
• It displays S as an error message, and terminates execution.

Example 1:

error('We have a problem here.')

Execution terminated in Line 1 by function error with the following message:

We have a problem here.