Changes

Jump to navigation Jump to search
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]=
167

edits

Navigation menu