Installing octave on windows

Installing octave on windows

The latest released version of Octave is always available from

Please download from https://ftpmirror.gnu.org/octave, which will redirect automatically to a nearby mirror site.

Packaged versions of Octave for GNU/Linux systems are provided by the individual distributions described in the Octave wiki. These packages are created by volunteers. The delay between an Octave source release and the availability of a package for a particular GNU/Linux distribution varies.

Alternatively, there are some distribution independent installation methods for more recent versions of GNU Octave described in the Octave wiki.

Executable versions of Octave for BSD systems are provided by the individual distributions. Both FreeBSD and OpenBSD have Octave packages. These packages are created by volunteers and the Octave project has no control over that process.

The Octave Wiki has instructions for installing Octave on macOS systems. Octave is also available in third-party package managers such as Homebrew and MacPorts.

Windows-64 (64-bit linear algebra for large data)
Unless your computer has more than

32GB of memory and you need to solve linear algebra problems with arrays containing more than

2 billion elements, this version will offer no advantage over the recommended Windows-64 version above.

All Windows binaries with corresponding source code can be downloaded from https://ftpmirror.gnu.org/octave/windows/.

Octave is free software under the GNU General Public License.

GNU Octave

Описание программы

GNU Octave — система для работы с математическими вычислениями, поддерживающая MATLAB.

GNU Octave позиционируется как более простая и бесплатная альтернатива программе MATLAB. Это ПО станет полезным как студентам, изучающим точные науки, так и тем, кто занимается математикой профессионально. Программа написана на языке C++, что позволяет внедрять ее во многие другие проекты.

Интерфейс программы командный, в нем можно выполнять математические задачи (линейные и нелинейные), проводить сложные численные эксперименты, решать уравнения, в том числе и дифференциальные. Инструменты программы позволяют работать с графиками в трехмерном интерфейсе. Язык Octave оперирует матрицами, вычисляет корни, поддерживает работу с полиномами.

Одно из достоинств — поддержка расширений. Используя расширения, список возможностей GNU Octave можно существенно расширить. Дополнительные модули можно загружать из официального каталога Octave Forge. Есть также возможность разрабатывать свои дополнения, используя языки программирования C++ или Forge.

Преимущества и недостатки

  • Интерактивный командный интерфейс
  • Поддержка расширений
  • Поддержка проектов MATLAB
  • Не всегда корректно работает с кодировкой UTF-8

Функции и особенности

Скриншоты

Скриншоты интерфейса и рабочих окон GNU Octave.

Скачать бесплатно

Скачайте последнюю версию GNU Octave (6.2.0) по прямой ссылке с нашего сайта. Программа совместима с операционными системами Windows 10, 8, 7 разрядностью 32/64-bit. Данный программный продукт распространяется бесплатно, а его интерфейс доступен на английском языке. Также вы можете скачать программу по ссылке с официального сайта.

  • 6.2.0
  • 325.1 Мб
  • 70
Читайте также:  До каталины какая была mac os

Безопасная загрузка файла с нашего сервера!

Отзывы

Отзывов о GNU Octave пока нет. Добавите первый?

Octave — How to install packages on Windows

Please suggest other ways to install. Particularly I would like to go through Gradients, Gradient Plots and Tangent Planes which requires Symbolic package.

1 Answer 1

EDIT: this bug is no longer present in Octave v4.2.1, and the issue described in the Question should no longer occur.

Yes, there appears to be a known issue logged on the bug tracker with the current release version of Octave (4.2.0) on windows being unable to connect to https due to the curl issue you identified in the linked discussions/questions. That bug report and the original help list discussion summarize the certificate issue and problem verification. It should be fixed in the next Octave release.

This, however, does not prevent you from installing packages. It only prevents you from using the program to go fetch packages to be installed. You are still able to go to the Octave Forge package site, manually download a package file, and then as described in the Octave manual and help for pkg run the install command.

E.g., you could download symbolic-2.4.0.tar.gz and save it to your current working directory. Then within octave, issue the following from the command line:

NOTE: symbolic currently requires Python and Sympy installed. If you don’t already have this on your Windows machine, the package maintainer has a separate self-contained package for Windows that can be obtained from the author’s github repository. In this case you would download the package and run the command:

Another more tedious option would be for you to compile your own copy from development sources, as the fix has supposedly been pushed to the mxe-octave repository.

Installing GNU Octave on Windows

IT Helpdesk
Fill out a ticket at help.stolaf.edu or stop by the IT Helpdesk in RML 353, right off the Rolvaag Memorial Library Atrium

Helpdesk Hours
Sunday: 1:30pm – 11pm
Monday – Thursday: 7:45am – 11pm
Friday: 7:45am – 5pm
Saturday: Closed

GNU Octave is a numerical computing package used in the Physics and MSCS departments at St. Olaf. It is free and open-source software and can be installed on any computer. IT maintains an installer for Windows to ease the installation process. Octave is installed on computers in the Physics department labs: RNS271, RNS292, RNS293 and RNS298.

Читайте также:  Эмодзи шрифты для windows

Follow these instructions to install Octave on your computer.

1. Make sure you are connected to the network file storage, specifically the I: drive. For information on connecting, see Network File Storage at St. Olaf.

2. Navigate to I:\Octave.

3. Right-click on install-octave.bat and select Run as administrator.

4. The installer will copy the Octave files to C:\Octave on your computer and place a shortcut on your desktop. Double-click on the desktop shortcut to start Octave.

St. Olaf IT recommends the text editor Notepad++ for writing and editing Octave files.

Important information for Windows 10 and 8 users

Octave is not completely compatible with Windows 10 and 8. If you install it on Windows 10 or 8, you will not see the typical “octave>” prompt, and certain functions, such as plotting, will not work. There is a work-around:

1. Right-click on the desktop shortcut for Octave and select Properties.

2. In the Target: field, add the following text to the end of the line “-i –line-editing”.

3. Click OK to save the change.

Installing octave on windows

MATLAB is an incredibly powerful tool for engineers, not just for number crunching solutions to specific problems, but as an aid to creativity. MATLAB power users sometimes talk about it feeling almost like an extension of their brain. Even for a dyed in the wool C programmer like me, it’s really useful to sketch out algorithms in MATLAB before implementing them in C. MATLAB’s notation for manipulating arrays is wonderfully concise and the ability to visualise data sets at the drop of a hat using its graphing tools really helps the creative process.

The main problem with MATLAB is that its a proprietary platform and even the student version comes with a hefty price tag. This is where Octave comes in – it’s basically an open source implementation of the MATLAB language. There are other free alternatives, like Scilab and FreeMat, but Octave seems to be the one that’s most consistent with MATLAB. Provided that you steer clear of non-compatible toolboxes, your Octave M-files should run fine in MATLAB.

Installing Octave on Windows

Unfortunately, it’s not immediately obvious how to install Octave on Windows. Visitors to the Octave home page need to do a bit of detective work to find their way to the correct binary executable installer for Windows. Personally, I think it would be really great if the correct download link was given pride of place on the Octave home page. I can’t help wondering whether 9 out of every 10 people who go looking for Octave end up abandoning the idea because they’re not quite sure which version to try.

Читайте также:  Windows что такое меню перечислить типы меню

Fortunately, once you know what to do, installing Octave on Windows is fast and straightforward and really is worth the effort. I don’t have MATLAB installed on my laptop at all anymore – I just use Octave.

The exact file to download is “Octave 3.6.4 for Windows Microsoft Visual Studio” which is one of the versions provided on Octave Forge. Here’s the link:

Run the installer and accept the default installation location (C:\software\Octave-3.6.4\) and other default options, as shown in the following sequence of screen shots:

Now just wait while the installation takes place…

Fix for Windows 8

If you’re running Windows 8, you’ll probably run into the same problem I did when I first ran Octave – the command prompt was missing from the command window, as shown below:

If so, you just need to do one small fix on the newly installed Octave to get things working. As a workaround for a gnulib Windows 8 compatibility bug, you need to add some command line switches to the octave.exe desktop shortcut: Right click the Octave desktop shortcut and click on “Properties”. Add the text "-i --line-editing" to the end of the Target field. Assuming you installed Octave in the default location (“C:\Software\Octave-3.6.4\”), the complete Target line will be as follows:

Here’s how it looked on my laptop:

Using Octave

Now just click OK and you’re ready to start using Octave. Double click on the desktop shortcut to start it up. Here’s how it looks when I open it on my laptop.

As you can see, it looks very different from MATLAB. However, we can type the same commands in Octave that we would use in MATLAB. In the following example, I’ll create an array of time values, use it to generate a sinusoidal function, and then plot the sinusoid in a figure window.

Just like in MATLAB, a sequence of commands can be stored in an M-file. However, you’ll need to use an external text editor. The one I strongly recommend is Notepad++ which is free to download from http://notepad-plus-plus.org/. Notepad++ is an incredibly useful text editor which can be used for all kinds of programming tasks (editing M-files is just one thing it’s good at).

Here’s an example of writing an M-file in Notepad++:

Once I saved my M-file, I ran it in the Octave command window as shown below:

Useful Octave commands

In the final screen shot above, you can see some useful commands for moving between different folders.

Оцените статью