<html lang="en"> <head> <title>Errors and Warnings - GNU Octave</title> <meta http-equiv="Content-Type" content="text/html"> <meta name="description" content="GNU Octave"> <meta name="generator" content="makeinfo 4.13"> <link title="Top" rel="start" href="index.html#Top"> <link rel="prev" href="Functions-and-Scripts.html#Functions-and-Scripts" title="Functions and Scripts"> <link rel="next" href="Debugging.html#Debugging" title="Debugging"> <link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage"> <meta http-equiv="Content-Style-Type" content="text/css"> <style type="text/css"><!-- pre.display { font-family:inherit } pre.format { font-family:inherit } pre.smalldisplay { font-family:inherit; font-size:smaller } pre.smallformat { font-family:inherit; font-size:smaller } pre.smallexample { font-size:smaller } pre.smalllisp { font-size:smaller } span.sc { font-variant:small-caps } span.roman { font-family:serif; font-weight:normal; } span.sansserif { font-family:sans-serif; font-weight:normal; } --></style> </head> <body> <div class="node"> <a name="Errors-and-Warnings"></a> <p> Next: <a rel="next" accesskey="n" href="Debugging.html#Debugging">Debugging</a>, Previous: <a rel="previous" accesskey="p" href="Functions-and-Scripts.html#Functions-and-Scripts">Functions and Scripts</a>, Up: <a rel="up" accesskey="u" href="index.html#Top">Top</a> <hr> </div> <h2 class="chapter">12 Errors and Warnings</h2> <p>Octave includes several functions for printing error and warning messages. When you write functions that need to take special action when they encounter abnormal conditions, you should print the error messages using the functions described in this chapter. <p>Since many of Octave's functions use these functions, it is also useful to understand them, so that errors and warnings can be handled. <ul class="menu"> <li><a accesskey="1" href="Handling-Errors.html#Handling-Errors">Handling Errors</a> <li><a accesskey="2" href="Handling-Warnings.html#Handling-Warnings">Handling Warnings</a> </ul> </body></html>