help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Command "system" works differently when installing Octave from flatpak


From: Jaime
Subject: Command "system" works differently when installing Octave from flatpak
Date: Mon, 6 Apr 2020 04:48:26 -0500 (CDT)

Hi everyone,
I will try not to waste your time.

I work in linux (kubuntu, 18.04 LTS bionic).

Octave can be installed directly from the package manager, what installs
Octave 4.2.2 and from flatpak (can be also done from the packages manager
telling him to recognize flatpak packages), it installs Octave 5.2.0. So I
have both versions.

I am trying to call an external function, '/gdalinfo.py'/ using
'/system()/'.

--Runing in Octave 4.2.2 (normal installation). Works fine
system('gdalinfo')
Usage: gdalinfo [--help-general] [-json] [-mm] [-stats] [-hist] [-nogcp]
[-nomd]
                [-norat] [-noct] [-nofl] [-checksum] [-proj4]
                [-listmdd] [-mdd domain|`all`] [-wkt_format WKT1|WKT2|...]*
                [-sd subdataset] [-oo NAME=VALUE]* datasetname

--Runing in Octave 5.2.0 (from flatpak), I get:
system('gdalinfo')
sh: gdalinfo: orden no encontrada
ans =  127

I have tried to addpath(genpath(_root to gdalinfo_)) but it did not work.

Any help? (Excuse me if it is a stupid question)
Thanks




--
Sent from: https://octave.1599824.n4.nabble.com/Octave-General-f1599825.html



reply via email to

[Prev in Thread] Current Thread [Next in Thread]