Octave for Microsoft Windows: Difference between revisions

→‎Octave-3.4.3-mingw + octaveforge pkgs: -- moved duplicated info away
m (re-ordered)
(→‎Octave-3.4.3-mingw + octaveforge pkgs: -- moved duplicated info away)
Line 18: Line 18:
*'''Latest update:''' 2011-10-26
*'''Latest update:''' 2011-10-26
*Packages are archived by 7zip. 7zip software can be download from http://www.7-zip.org/
*Packages are archived by 7zip. 7zip software can be download from http://www.7-zip.org/
*Octave Binaries are built using Tatsuro Matsuka OctaveLibs.zip and gplibs.zip (http://www.tatsuromatsuoka.com/octave/Eng/Win/)


===Includes===
===Installation===
 
*GNU Octave, version 3.4.3 (i686-pc-mingw32)
*A new fltk graphics_toolkit is available
*gnuplot 4.4.3
*fig2dev 3.2.5c
*ghostscript 9.0.2
*PSTOEDIT 3.50
*Msys + MinGW? tool chains
*PDF and html documentation
*some Octave-forge packages
**actuarial-1.1.0
**ad-1.0.6
**audio-1.1.4
**benchmark-1.1.1
**bim-1.0.2
**bioinfo-0.1.2
**civil-engineering-1.0.7
**combinatorics-1.0.9
**communications-1.1.0_patched
**control-2.2.0
**data-smoothing-1.2.3
**dataframe-0.8.2
**econometrics-1.0.8
**fenv-0.1.0
**financial-0.3.2
**fpl-1.2.0
**fuzzy-logic-toolkit-0.2.4
**ga-0.9.8
**general-1.2.2
**generate_html-0.1.3
**geometry-1.2.0
**gnuplot-1.0.1
**gpc-0.1.7
**gsl-1.0.8
**ident-1.0.7
**image-1.0.15
**informationtheory-0.1.8
**integration-1.0.7
**io-1.0.15 + supporting java jars
**irsa-1.0.7
**java-1.2.8_patched + java.opts file
**linear-algebra-2.0.0_svn20111014
**mapping-1.0.7
**mechanics-1.1.0
**miscellaneous-1.0.11_svn20110912
**missing-functions-1.0.2
**msh-1.0.2
**multicore-0.2.15
**nlwing2-1.2.0
**nnet-0.1.13
**nurbs-1.3.5
**ocs-0.1.1_patched
**octclip-1.0.0
**octgpr-1.2.0
**odebvp-1.0.6
**odepkg-0.8.0
**optim-1.0.16
**optiminterp-0.3.3
**outliers-0.13.9
**physicalconstants-0.1.7
**plot-1.0.8
**quaternion-1.0.0
**secs1d-0.0.8
**secs2d-0.0.8
**secs3d-0.0.1
**signal-1.0.11
**simp-1.1.0
**sockets-1.0.7_svn20111014
**specfun-1.0.9
**special-matrix-1.0.7
**spline-gcvspl-1.0.8
**splines-1.0.7
**statistics-1.0.10
**strings-1.0.7
**struct-1.0.9
**symband-1.0.10
**symbolic-1.1.0
**tcl-octave-0.1.8
**time-1.0.9
**tsa-4.1.1
**video-1.0.2_patched
**vrml-1.0.12_svn20111014_patched
**windows-1.1.0
**xraylib-1.0.8
**zenity-0.5.7
 
===Installation of the Octave package===


*Read <code>readme.txt</code> in <code>Octave3.4.3_gcc4.5.2_20111025.7z</code>
Please see the [https://sourceforge.net/projects/octave/files/Octave_Windows%20-%20MinGW/Octave%203.4.3%20for%20Windows%20MinGW%20Installer/ sourceforge page] for detailed install instructions.
*Unzip to a directory which doesn't have space chars i.e. <code>C:\Octave\Octave3.4.3_gcc4.5.2\</code> keeping the directory structure in the archive.
*Copy <code>octave3.4.3_gcc4.5.2.lnk</code> to any convenient location and edit its properties respectively to point to <code>bin\octave.exe</code> and <code>share\octave\3.4.3\imagelib\octave-logo.ico</code>.
*Copy <code>octave3.4.3_gcc4.5.2_docs.lnk<code> to any convenient location and edit its properties respectively to point to <code>doc\octave</code> and <code>share\octave\3.4.3\imagelib\octave-logo.ico</code>.


===Installation of the Octave-forge packages===
===Troubleshooting===
 
Upon launching, some warnings may be displayed. The following warnings can be ignored:
*Read <code>Octave3.4.3_gcc4.5.2_pkgs_readme.txt</code> in <code>Octave3.4.3_gcc4.5.2_pkgs_20111026.7z</code>.
*Following warning is about interpretation of logical operators (on scalars) in octave which is slightly different than matlab's interpretation.  
*In order to update octave_packages database and auto-load most packages (excluding 'ad' and 'windows' which may crash octave when loaded and 'clear all' is executed), launch Octave and execute:
        pkg rebuild -auto
        pkg rebuild -noauto ad windows
        pkg rebuild -auto java
 
*Last pkg rebuild command is required in order for the java pkg entry to be moved to the top of share\octave\octave_packages db file - thus java pkg is loaded before io pkg is loaded, and io pkg related jars are added to java class path.
*You can adjust your installed packages status per your specific needs and usage by executing one of the following commands:
*To interactively load or unload a package
        pkg load <pkg_name>
        pkg unload <pkg_name>
*To disable auto-load for specific pkg <pkg_name>
        pkg rebuild -noauto <pkg_name>
*To enable auto-load for specific pkg <pkg_name>
        pkg rebuild -auto <pkg_name>
*To completely uninstall a package
        pkg uninstall <pkg_name>     
 
===Notes===
*This archive doesn't contain any editor! In order to install Notepad++ (recommended) as an editor:
**download the installation package from http://notepad-plus-plus.org/
**install, edit <code><your octave dir>\share\octave\site\m\startup\octaverc</code>
**un-comment the line which sets octave default editor:
    EDITOR('C:\\Program Files\\Notepad++\\notepad++.exe');
*Upon launching, some warnings may be displayed. The following warnings can be ignored:
Following warning is about interpretation of logical operators (on scalars) in octave which is slightly different than matlab's interpretation.  
     warning: C:\Octave\3.4.3_gcc-4.5.2\share\octave\packages\integration-1.0.7\PKG_ADD: possible Matlab-style short-circuit operator at line 9, column 32  
     warning: C:\Octave\3.4.3_gcc-4.5.2\share\octave\packages\integration-1.0.7\PKG_ADD: possible Matlab-style short-circuit operator at line 9, column 32  
Following messages are from java package about loading of java classes that have been found and how to manually run a statement which will display its capabilities.  
*Following messages are from java package about loading of java classes that have been found and how to manually run a statement which will display its capabilities.  
     io PKG_ADD: java classes has been found and added in C:\Octave\3.4.3_gcc-4.5.2\bin  
     io PKG_ADD: java classes has been found and added in C:\Octave\3.4.3_gcc-4.5.2\bin  
     io PKG_ADD: run chk_spreadsheet_support([],3) to view io support  
     io PKG_ADD: run chk_spreadsheet_support([],3) to view io support  
Following warnings are about missing external tools which may reduce some of the functions of some packages. These external tools are not provided by the 7z archives in sourceforge.  
*Following warnings are about missing external tools which may reduce some of the functions of some packages. These external tools are not provided by the 7z archives in sourceforge.  
     warning: gmsh does not seem to be present some functionalities will be disabled  
     warning: gmsh does not seem to be present some functionalities will be disabled  
     warning: dx does not seem to be present some functionalities will be disabled  
     warning: dx does not seem to be present some functionalities will be disabled  
Following warning is about fstat function of the statistics package that overloads the old (to be deprecated) fstat function of octave-3.4.3  
*Following warning is about fstat function of the statistics package that overloads the old (to be deprecated) fstat function of octave-3.4.3  
     warning: function C:\Octave\3.4.3_gcc-4.5.2\share\octave\packages\statistics-1.0.10\fstat.m shadows a core library function  
     warning: function C:\Octave\3.4.3_gcc-4.5.2\share\octave\packages\statistics-1.0.10\fstat.m shadows a core library function
*Octave Binaries are built using Tatsuro Matsuka OctaveLibs.zip and gplibs.zip (http://www.tatsuromatsuoka.com/octave/Eng/Win/)


==Octave-3.4.2-mingw + octaveforge pkgs==
==Octave-3.4.2-mingw + octaveforge pkgs==