Using Octave: Difference between revisions
Updated the package section to use Octave Packages instead of Forge (as forge is being deprecated
No edit summary |
(Updated the package section to use Octave Packages instead of Forge (as forge is being deprecated) |
||
Line 239: | Line 239: | ||
= Octave | = Octave packages = | ||
Community-developed packages can be added from the | Community-developed packages can be added from the | ||
[ | [https://gnu-octave.github.io/packages/ Octave Packages] website to extend | ||
the functionality of Octave’s core library. (Matlab users: | the functionality of Octave’s core library. (Matlab users: Packages | ||
act similarly to Matlab’s toolboxes.) The [https://www.gnu.org/software/octave/doc/interpreter/XREFpkg.html pkg] command is used | act similarly to Matlab’s toolboxes.) The [https://www.gnu.org/software/octave/doc/interpreter/XREFpkg.html pkg] command is used | ||
to manage these packages. For example, to use the image processing library | to manage these packages. For example, to use the image processing library visit its [https://gnu-octave.github.io/packages/image/ page on Octave Packages,] copy the install command and run it in octave | ||
<syntaxhighlight lang="octave">pkg install - | <syntaxhighlight lang="octave">pkg install "https://downloads.sourceforge.net/project/octave/Octave%20Forge%20Packages/Individual%20Package%20Releases/image-2.14.0.tar.gz" # install package | ||
pkg load image # load new functions into workspace | pkg load image # load new functions into workspace | ||
</syntaxhighlight> | </syntaxhighlight> |