216
edits
(→Pre-installed Packages: fixed version numbers) |
(→Calling Octave executables: New section) |
||
(One intermediate revision by one other user not shown) | |||
Line 39: | Line 39: | ||
The output for preinstalled global packages included with version 6.2.0 when installed into {{Path|C:\Octave}} is: | The output for preinstalled global packages included with version 6.2.0 when installed into {{Path|C:\Octave}} is: | ||
Package Name | Version | Installation directory | |||
---------------------+---------+----------------------- | |||
audio | 2.0.2 | C:\Octave\octave-6.2.0-w64\mingw64\share\octave\packages\audio-2.0.2 | audio | 2.0.2 | C:\Octave\octave-6.2.0-w64\mingw64\share\octave\packages\audio-2.0.2 | ||
communications | 1.2.2 | C:\Octave\octave-6.2.0-w64\mingw64\share\octave\packages\communications-1.2.2 | communications | 1.2.2 | C:\Octave\octave-6.2.0-w64\mingw64\share\octave\packages\communications-1.2.2 | ||
Line 120: | Line 120: | ||
Detailed instructions for installing individual Octave Forge packages are given at https://octave.sourceforge.io/packages.php. | Detailed instructions for installing individual Octave Forge packages are given at https://octave.sourceforge.io/packages.php. | ||
==Calling Octave executables== | |||
Some environment variables have to be set to correctly run Octave executables. So, a user should not call any of the executables directly unless the necessary environment variables have been set up manually. | |||
Instead, the {{Path|octave.vbs}} script in Octave's root installation folder or the {{Path|octave.bat}} script in the bin directory should be used. Both scripts support starting the GUI (command line argument {{Path|--gui}}) or running Octave in CLI mode (command line argument {{Path|--no-gui}}). The .vbs script opens the GUI by default. The .bat script starts Octave in CLI mode by default. | |||
The .vbs script returns immediately when Octave has started. The .bat script returns when Octave finishes execution. | |||
Alternatively, Octave can be started using the msys2 shell that can be started with {{Path|cmdshell.bat}} in Octave's root installation folder. | |||
=GNU Octave on [https://cygwin.com/ cygwin]= | =GNU Octave on [https://cygwin.com/ cygwin]= |
edits