<html lang="en"> <head> <title>Using Packages - 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="up" href="Packages.html#Packages" title="Packages"> <link rel="prev" href="Installing-and-Removing-Packages.html#Installing-and-Removing-Packages" title="Installing and Removing Packages"> <link rel="next" href="Administrating-Packages.html#Administrating-Packages" title="Administrating Packages"> <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="Using-Packages"></a> <p> Next: <a rel="next" accesskey="n" href="Administrating-Packages.html#Administrating-Packages">Administrating Packages</a>, Previous: <a rel="previous" accesskey="p" href="Installing-and-Removing-Packages.html#Installing-and-Removing-Packages">Installing and Removing Packages</a>, Up: <a rel="up" accesskey="u" href="Packages.html#Packages">Packages</a> <hr> </div> <h3 class="section">37.2 Using Packages</h3> <p>By default installed packages are available from the Octave prompt, but it is possible to control this using the <code>pkg load</code> and <code>pkg unload</code> commands. The functions from a package can be removed from the Octave path by typing <pre class="example"> pkg unload package_name </pre> <p class="noindent">where <code>package_name</code> is the name of the package to be removed from the path. <p>In much the same way a package can be added to the Octave path by typing <pre class="example"> pkg load package_name </pre> </body></html>