Current octave for windows ships a not full featured gnuplot. Therefore you cannot use the full features of gnuplot graphics toolkit e. If you want use it, please use the following instruction. Download and install gnuplot if you do not have it. You can find the windows installer in the " gnuplot web site for Files section " The latest version is 5.
Please do not forget to quote the path name by single quote ' if name of which has a white space s. On octave, windows terminal is default. If you want change it to wxt terminal, execute.
Pre-build octave-forge packages are not prepared from octave You can install some octave-forge packages using archived sources and build script. However, small flaws exist in current octave Before install, correct version number of general and signal packages version to 2.
Then execute. For detailed instruction of installing Octave-Forge packages is shown at Octave-Forge. The site that provide previous version of octave for windows of ver. A mirrored binary can be downloaded at File list of Octave for Windows. For build instructions before octave Octave binaries compiled with Microsoft Visual Studio are available for download from Octave-Forge site.
These binaries come in the form of an easy-to-use installer created with NSIS and are provided in 2 flavors: pre-compiled version for Visual Studio and for Visual Studio This must be installed separately, but is only required if you plan to compile and link source code against the pre-compiled octave release.
They can be downloaded for free from the Microsoft download site:. Note that if you already installed other software on your system, there is a possibility that these runtime libraries are already present. Search for a files named msvcr The pre-compiled versions for Visual Studio come in the form of a self-installing executable. Simply download the executable, run it and follow the installer instructions.
To avoid possible problems with white spaces in the octave paths, it is strongly recommended to install octave in a directory that do not contain any white spaces. Octave-Forge packages are not installed by default.
To install packages, expand the section "Octave Forge" in the component selection page of the installer and select the packages you wish to install. Note that installed packages are not loaded by default. To use the packages, you still need to load them into octave. In order to use the print command ghostscript must be installed. The installer may be obtained at sourceforge. The Destination directory may be different for 32 bit and 64 bit windows and can also change for different versions of Ghostscript.
Therefore, it is important that the user make note of the Destination directory used to install Ghostscript and use it in place of the Destination directory used in these instructions. In order for Octave to find Ghostscript, the directory containing Ghostscript's command line program must be in the command shell's path. The name of Ghostscript's command line program may vary.
Some examples are gswin32c. Specific locations on your system can be found by typing the following commands at the Octave command line:. Octave versions for Windows prior to 6. The default is now to follow the same behavior on all platforms, and for all package updates and installations to apply to local or global package locations according to whether or not the user is running with Administrative privileges on Windows, this is usually accomplished by running as an Administrator privileged account, or starting Octave with the "Run as Administrator" option.
Alternatively, some pkg command options can force octave to try to use either the local or global packages. A selection of pre-built, Octave Forge packages is included with all versions of the official Windows release. If you followed the installation directions above, you can display a list of packages by typing the command below at the Octave command prompt:.
The output for preinstalled global packages included with version 6. Note that the included packages shown above are stored in the default global package location within the Octave installation folder. If any 'local' packages were previously installed with another version of windows, they might also appear in the list at the local location. It is recommended that any such packages be uninstalled and reinstalled to guarantee compatibility with the current version of octave.
If Octave was installed from a zip or 7z archive and you did not run the post-install. In that case you need to run:. That will force octave to look for both local and global packages in the set locations to repopulate the list of available packages. Note that 'local' packages always take precedence if the same package is present in both locations.
Note : The Windows bundle includes a minimal version of Python for the symbolic package. That version of Python is not intended to be used for anything else.
If you like to use Python for something different in Octave e. To install a new or updated package version manually, the package file can be downloaded from the Octave Forge website to the working directory and can be installed using:.
Note that all of the commands above will perform local or global package installs according to the user's Administrator access level. This behavior can be changed by calling the install command with the -global option.
For example:. To install a global package to the latest version requires write-access to the global-list location you can use:. Note also that the update command does not take -local or -global options, and always performs an update according to the user's Administrator access level. As such if Octave was installed from a zip or 7z archive in a non-privileged account, 'pkg update' cannot be used to update global packages, they must be updated manually using 'pkg install'.
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.
0コメント