Questions tagged [octave]

GNU Octave is a high-level interpreted language and software, primarily intended for numerical computations. Historically it has been solely run from the command-line (that is, through a terminal emulator) but since version 3.8.0 a graphical user interface (GUI) has been available as part of the software.

Filter by
Sorted by
Tagged with
0 votes
0 answers
19 views

audio-related malfuction with octave-psychtoolbox-3

I was testing an experiment developed in GNU OCTAVE + Psychtoolbox. To abort the experiment, I typed ctrl + alt + Del to Log Out (I didn't have other option). Since then, Psychtoolbox cannot support ...
looking for answers's user avatar
0 votes
1 answer
166 views

Error while installing io octave package

I want to install the GNU Octave io package, but I keep receiving the following error in the process. pkg install -forge io sh: 1: make: not found error: pkg: error running 'make' for the io package. ...
Hassan Muhammad's user avatar
0 votes
1 answer
203 views

How to use functions from Statistics and Machine Learning Toolbox of MATLAB in Octave in Ubuntu?

I need to run a (MATLAB) code which has the normrnd function, available in the Statistics and Machine Learning Toolbox of MATLAB. However, I want to use GNU Octave instead of MATLAB. How do I run this ...
Archisman Panigrahi's user avatar
1 vote
1 answer
114 views

Does the octave-symbolic package still exist for Ubuntu 22.04/jammy?

We run a Jobe server for use by our CodeRunner install, including Octave on it. We have previously been asked to include the octave-symbolic package as part of our install. We are now trying to build ...
dave559's user avatar
  • 316
1 vote
1 answer
139 views

Octave 2d Plotting time series - line not connecting markers (precision error)

Relevant info: Octave version...5.2.0 pkgs used: io-2.6.2 tablicious-0.3.5 Ubuntu version- 20.04.4 LTS Hi! I'm reading timestamp and temperature data from an xlsx spreadsheet into Octave. I'm running ...
Mik's user avatar
  • 31
2 votes
2 answers
518 views

Installing GNU Octave on an offline Ubuntu system

I want to install GNU octave on an offline Ubuntu 20.04 system. I have another Ubuntu 20.04 system which is connected to the Internet. Is there any way I can download all the dependencies, packages ...
anony's user avatar
  • 23
1 vote
1 answer
105 views

Octave library error when reading in data (FSL PALM)

I am running FSL PALM via Octave (v.5.2.0) from Ubuntu 20.04. I installed Octave per these instructions. I am encountering this error from Octave, which I think it related to a package dependency (...
anelson's user avatar
  • 21
3 votes
2 answers
405 views

How to create a wrapper script for the Flatpak version of Octave, to avoid the long command flatpak run org.octave.Octave?

In the apt version of octave, I can use the command octave script.m to execute the file script.m. Similarly flatpak run org.octave.Octave script.m works too. However, to avoid the long command flatpak ...
Archisman Panigrahi's user avatar
1 vote
1 answer
111 views

What's the package name for using de2bi in octave?

I'm trying to usede2bi in Octave but it seems that the package isn't installed. To install it, I should use this command: pkg install -forge <package_name> I don't know the package name, ...
Abanoub Asaad's user avatar
0 votes
0 answers
147 views

Octave package install error due to libncurses5-dev

I've installed Octave on Ubuntu 21.04 but run into problems installing packages. After trying to install liboctave-dev, I get liboctave-dev depends on libncurses5-dev; however: Package libncurses5-...
BillC's user avatar
  • 1
3 votes
2 answers
5k views

Why are there so many OpenBLAS packages and which one would yield fastest results?

In Ubuntu 20.04, there are many packages for OpenBLAS. ~$ apt search openblas p libopenblas-base - Optimized BLAS (linear algebra) library (transitional) ...
Archisman Panigrahi's user avatar
0 votes
0 answers
19 views

Package 'octave-octcdf' has no installation candidate (Ubuntu 18 LTS) [duplicate]

I need to install octave-octcdf package to work with Octave. I tried, sudo apt-get install -y octave-octcdf. But this receives an error as following; user@PowerEdge-R540:~/user/tools$ sudo apt-get ...
AKASH's user avatar
  • 1
0 votes
0 answers
1k views

how to upgrade glx version from 1.2 to 1.3 or higher on WSL2 Ubuntu 20.04

I am now running octave for some plots, but it would always return an empty window. Octave is now running on WSL2 Ubuntu 20.04 with xming for image forwarding, and it returns the following warning ...
C.Lin's user avatar
  • 1
1 vote
1 answer
114 views

stable octave on MATE

I installed Octave on my RPi400 running 32-bit Ubuntu MATE for Raspberry Pi with the following commands, sudo apt-get update sudo apt-get install octave It installed fine the first time but flaked ...
relayman357's user avatar
1 vote
1 answer
675 views

How to use Octave from repositories with OpenBLAS compiled on my computer?

It has been suggested that using Octave with OpenBLAS compiled in my own computer (rather than precompiled OpenBLAS from repositories) will make the computations faster. I installed GNU Octave (4.2.2) ...
Archisman Panigrahi's user avatar
1 vote
1 answer
1k views

How to use GNU Octave with Intel MKL from Ubuntu repositories, for faster scientific computation?

Intel Math Kernel Library is a BLAS library, which is available in Ubuntu repositories from Ubuntu 19.10 onwards, and is reported to give much faster results. How to make GNU Octave use Intel MKL ...
Archisman Panigrahi's user avatar
2 votes
1 answer
249 views

I am unable to close octave [duplicate]

I had a problem with installing Octave. Now I am unable to close it once it is opened. And I am unable to shutdown the computer. What path should I set, what /etc/environment should I set? I had used ...
raghu ram's user avatar
0 votes
0 answers
319 views

Problem using PulseAudio in a snap program

It appears that apparmor is preventing Gnu Octave from connecting to the Pulse audio pipe. How can I remove this restriction. dmesg output [10986.689501] audit: type=1400 audit(1590956219.198:4342): ...
Brad Nowak's user avatar
2 votes
1 answer
281 views

GNU Octave documentation failure

When starting GNU Octave, I get this error window Looking in /usr/share/octave/4.4.1/doc I found I did not have write access to the .qhc file there. I tried to give everyone write access to it, but ...
Bernt Ribbum's user avatar
0 votes
1 answer
957 views

Why can't I run this executable file (.exe) in Octave?

I have a source code written in Fortran 90: sourcecode.f90 It needs Lapack libraries for compilation so, I compile the source code with this command: gfortran -o executable.exe sourcecode.f90 -...
skirthy's user avatar
  • 11
2 votes
1 answer
4k views

Fail to install control package to Octave (installed via snap)

I'm facing some difficulties installing packages in octave (5.2.0 via snap). I'm running ubuntu 19.10 The problem is: >> pkg install -forge control configure: error: in `/tmp/oct-bdXz48/...
hoo2's user avatar
  • 135
0 votes
1 answer
4k views

/bin/sh: 1: Syntax error: Unterminated quoted string <builtin>: recipe for target 'wfdbinit.o' failed in WFDB octave toolbox installtion

I need to work by EEG signals and trying yo use WFDB from physionet site from this instruction, so based of its readme.MD file i tried to do: $ sudo apt-get install gcc libcurl4-openssl-dev perl ...
Soheil Paper's user avatar
-1 votes
1 answer
5k views

Octave error: 'dfs' undefined near line 1 column 1

how i could run SDF command in octave when i get this error: so i have seen this GitHub related project (octave-networks-toolbox) and into is there was SDF, so i tried to install it by this command: ...
Soheil Paper's user avatar
2 votes
0 answers
940 views

warning: LFLAGS is deprecated and will be removed in a future version of Octave, use LDFLAGS instead

Ubuntu 19.10 Octave 5.1 flatpak every time I install an application I get this error then the CPU usages reaches 100% pkg install control-3.2.0.tar.gz warning: LFLAGS is deprecated and will be ...
Yousef Saber's user avatar
0 votes
1 answer
796 views

How do I fix "undefined variable: void" error loading scilab BackDoor

I'm attempting to install sci cosim for Octave, and to do so I need to install scilab, and BackDoor, however, with BackDoor installed I get the following error upon starting scilab: atomsLoad: An ...
Skylar Kantor's user avatar
1 vote
1 answer
1k views

Can't install octave forges with Ubuntu 19.04

Octave Forges fails to install octave from repositories on Ubuntu 19.04 using snap octave v5.1: pkg install -forge symbolic error: get_forge_pkg: could not read URL, please verify internet ...
Yousef Saber's user avatar
2 votes
1 answer
2k views

gpg key timed out error while installing GNU Octave on Ubuntu 18.04

I tried to install Octave using the following commands: sudo add-apt-repository ppa:octave/stable sudo apt update sudo apt-get install octave But after running the 1st command, I get the following ...
Deepam Gupta's user avatar
3 votes
0 answers
108 views

Binding Octave Libraries

I am working with embed octave. While building the library, I encountered this error, can anyone suggest solution for this. /usr/local/lib/octave/5.1.0/oct/x86_64-pc-linux-gnu/PKG_ADD: /usr/local/...
sathvik kote's user avatar
1 vote
1 answer
3k views

snap permissions for home directory for Octave

I installed the octave snap yesterday, but when I run octave, it does not have permissions to access my $HOME. How do I enable permissions? ctaggart@rustasia:~/octave-add$ octave octave: X11 DISPLAY ...
Cameron Taggart's user avatar
0 votes
1 answer
2k views

Unable to install Octave in armhf - Error in loading `libopenblas.so.0`

I have installed Ubuntu 18.04 (using the armhf rootfs created by Canonical) in Termux in my mobile phone. While installing octave (sudo apt install octave) I am getting the following error. Setting up ...
Archisman Panigrahi's user avatar
2 votes
0 answers
208 views

installing gslcblas on octave (installed via flatpak)

Installing gslcblas on octave is not a big challenge (see here). But how can I solve the same problem, when octave is installed via flatpak on Ubuntu 18.04? >> pkg install -forge gsl Gtk-...
Balázs Pere's user avatar
0 votes
1 answer
2k views

How to create a data file which can be opened by octave

I created two files FeaturesX.dat and PriceY.dat using the command: touch FeaturesX.dat and touch PriceY.dat but when I would try to open these files from octave using the command: load FeaturesX....
Rishabh's user avatar
  • 35
3 votes
0 answers
269 views

How to install GNU Octave on Ubuntu 18.10?

While trying to install it from Ubuntu Software Store it shows the error "unmet dependencies". I just upgraded from 18.04 LTS which had Octave installed and now I can't use it anymore.
Siddharth Pandey's user avatar
0 votes
1 answer
1k views

hist(), plot() in octave shows blank screen

Code used: x = 0.17860 0.85981 0.69683 0.56564 0.55712 0.68452 0.83126 0.11530 0.28621 0.75909 >>y y = 4.28759 1.07059 1.53263 7.99441 0.98204 3.45242 4....
Mudit Kumar Singh's user avatar
1 vote
1 answer
349 views

octave from ppa with packages not possible

I installed octave using ppa, but now all octave packages (e.g. optim) have broken dependencies. I proceeded in the following way: $ sudo add-apt-repository ppa:octave/stable $ sudo apt-get update $ ...
thyme's user avatar
  • 111
0 votes
1 answer
235 views

Installing Octave on Ubuntu Mate on Raspberry pi 3

I have Ubuntu Mate on a raspberry pi 3 and I'm trying to install Octave without success so far. I got (sorry if its not accurate, I translated from Spanish): $ sudo apt-get -y install octave octave ...
kurokirasama's user avatar
2 votes
1 answer
470 views

Looking for location of tmp directory in flatpak

Looking for location of tmp directory in flatpak. I installed the Octave flatpak. When I go to access the tmp directory while in the Octave program the directory is not the same tmp directory if ...
Rick T's user avatar
  • 2,111
2 votes
2 answers
309 views

How to use GNU Octave instead of Minitab

As a university student, we have to solve some problems and class activity using a Windows app called Minitab, while I don't use any other operating system except Linux. I installed GNU Octave and ...
Mirza's user avatar
  • 341
1 vote
1 answer
2k views

gsl library: gslcblas library not found but installed

I have problems with installing the gsl package. Running Xubuntu 18.04, octave 4.4.1. Using -forge, the installation process stalls with the following message: pkg install -forge gsl configure: ...
Karl's user avatar
  • 111
1 vote
1 answer
2k views

Octave - Invalid ELF header - Ubuntu 18.04

TLDR; I want to run octave code in the terminal without any GUI but am facing a ELF header error. Full question; I am trying to run a basic octave script as can be seen here which is saved as a ...
Ethan's user avatar
  • 13
2 votes
2 answers
705 views

Installing Octave Documentation on Ubuntu 16.04

I'd like to have on-disk documentation, as there are many times when I must be off the net. I have Ubuntu 16.04 and Octave 4.0.0. When I click the Documentation tab I get "The info file /usr/share/...
RadlyEel's user avatar
  • 201
3 votes
0 answers
16k views

Error while loading shared libraries: libQt5Network.so.5:

I was installing GNU octave on my Ubuntu 18.04 (from the terminal). After installation octave wouldn't open when I tried to launch it using the desktop icon. So I tried launching from the terminal and ...
SKrish's user avatar
  • 31
4 votes
2 answers
1k views

GNU Octave Command Window unreadable text

GNU Octave Command Window showing unreadable text. Ubuntu 16.04 LTS. GNU Octave 4.2.2. Intel® HD Graphics 520 (Skylake GT2). Octave was installed by means of the Terminal.
FelipeCas's user avatar
6 votes
1 answer
2k views

Octave command window showing unreadable text [duplicate]

When I start Octave, on the command window I see this: However, after I run some commands, I can see they are in history and they do execute. I can see the text if I copy-paste it somewhere. How ...
user1717552's user avatar
1 vote
1 answer
406 views

Errors in installing octave in ubuntu 16.10 [duplicate]

Whenever I run the command "sudo apt install octave" I keep getting this in my terminal window Err:1 http://in.archive.ubuntu.com/ubuntu yakkety/main amd64 libxml-libxml-perl amd64 2.0128+dfsg-1 ...
Avdhut Joshi's user avatar
1 vote
0 answers
174 views

error installing octave from source (qt4 unknown)

After I compile octave from source, I get the following error: GEN libgui/src/qrc-resource.cc Unknown option 'qt4'. Makefile:27266: recipe for target 'libgui/src/qrc-resource.cc' failed CXX ...
Kashif's user avatar
  • 489
3 votes
3 answers
913 views

Cannot install Octave (Dependency problem)

I've tried to install Octave in my Ubuntu 16.04 LTS 64bit using sudo apt-add-repository ppa:octave/stable sudo apt-get update sudo apt-get install octave and it generate a dependency problem the ...
Iduoad's user avatar
  • 141
2 votes
1 answer
106 views

Gnuplot and Octave giving scrollbar error

The following error is occurring in both Gnuplot and Octave at the newest installation: error: invalid string constant "murrine-scrollbar", expected valid string constant I have no idea how to ...
user3281447's user avatar
0 votes
0 answers
952 views

Installing Octave 4.0.2 with apt-get

I am trying to install Octave 4.0.2 (specifically that version; I have reason to believe there is an incompatibility that affects software I want to run with and would like to install this version to ...
Novak's user avatar
  • 193
2 votes
1 answer
791 views

Fuzzy logic simulation software

I am trying to find the best fuzzy logic simulator for Ubuntu 16.04 LTS. In Windows, I have fuzzy logic working in MATLAB, but in Ubuntu, Octave doesn't seem to compile fuzzy logic code. Is there ...
Saumen's user avatar
  • 21