Display error message and terminate execution
Sshould be a character array.
- Escape characters, such as
\n, are not supported.
- It displays
Sas an error message, and terminates execution.
error('We have a problem here.')
Execution terminated in Line 1 by function error with the following message: We have a problem here.