OCTAVE-CONFIG(1) General Commands Manual OCTAVE-CONFIG(1)NAME
octave-config - GNU Octave component and library information retrieval
SYNOPSIS
octave-config [OPTION]...
DESCRIPTION
octave-config is a tool to obtain directory information for .oct and .m files for octave(1).
OPTIONS --m-site-dir
Display the main directory for local, or site-specific, .m script files.
--oct-site-dir
Display the main directory for local, or site-specific, .oct dynamic-link libraries.
-p VAR, --print VAR
Print the default value of the Octave configuration variable VAR. Recognized variables are:
API_VERSION LOCALAPIOCTFILEDIR
ARCHLIBDIR LOCALARCHLIBDIR
BINDIR LOCALFCNFILEDIR
CANONICAL_HOST_TYPE LOCALOCTFILEDIR
DATADIR LOCALSTARTUPFILEDIR
DATAROOTDIR LOCALVERARCHLIBDIR
DEFAULT_PAGER LOCALVERFCNFILEDIR
EXEC_PREFIX LOCALVEROCTFILEDIR
FCNFILEDIR MAN1DIR
IMAGEDIR MAN1EXT
INCLUDEDIR MANDIR
INFODIR OCTFILEDIR
INFOFILE OCTINCLUDEDIR
LIBDIR OCTLIBDIR
LIBEXECDIR PREFIX
LOCALAPIARCHLIBDIR STARTUPFILEDIR
LOCALAPIFCNFILEDIR VERSION
-v, --version
Display the version number of octave(1).
-h, -?, --help
Print help message.
AUTHOR
John W. Eaton <jwe@octave.org>
This manual page was contributed by Dirk Eddelbuettel <edd@debian.org> for the Debian GNU/Linux distribution but may be used by others.
GNU Octave 4 February 2011 OCTAVE-CONFIG(1)
Check Out this Related Man Page
OCTAVE(1) General Commands Manual OCTAVE(1)NAME
octave - A high-level interactive language for numerical computations.
SYNOPSIS
octave [options]... [file]
DESCRIPTION
Octave is a high-level language, primarily intended for numerical computations. It provides a convenient command line interface for solv-
ing linear and nonlinear problems numerically.
OPTIONS
The complete set of command-line options for octave is available by running the following command from the shell.
octave --help
DOCUMENTATION
The primary documentation for Octave is written using Texinfo, the GNU documentation system, which allows the same source files to be used
to produce on-line and printed versions of the manual.
You can read the on-line copy of the Octave documentation by issuing the following command from within octave.
octave:1> doc
The Info files may also be read with a stand-alone program such as info or xinfo. HTML, Postscript, or PDF versions of the documentation
are installed on many systems as well.
BUGS
The Octave project maintains a bug tracker at http://bugs.octave.org. Before submitting a new item please read the instructions at
http://www.octave.org/bugs.html on how to submit a useful report.
FILES
Upon startup Octave looks for four initialization files. Each file may contain any number of valid Octave commands.
octave-home/share/octave/site/m/startup/octaverc
Site-wide initialization file which changes options for all users. octave-home is the directory where Octave was installed such as
/usr/local.
octave-home/share/octave/version/m/startup/octaverc
Site-wide initialization file for Octave version version.
~/.octaverc
User's personal initialization file.
.octaverc
Project-specific initialization file located in the current directory.
AUTHOR
John W. Eaton <jwe@octave.org>
GNU Octave 4 February 2011 OCTAVE(1)
I have this short statement:
size=1
VAR=` wc -c datafile | awk -F" " '{print $1}' `
if
then
dowhatIeed
Question:
How can I make my if statement greater than 1 and less than 20?
How can I make my if statement greater than 1 and equal to 20?
Please advise! (4 Replies)
before i get to it, i would like to say this is the greatest unix site ive ever seen, and im glad to see so many people are out there to help. thanks
well, im trying to make myself a script where i can specify a directory and a file size so that my script will show me any files larger than the... (5 Replies)
Hello there. I would like to know how to use shc (the generic shell script compiler ) with octave scripts. With sh scripts it works fine (because it automatically recognizes the interpreter - here bash ). But when use with octave scripts like this easy one #! /usr/bin/octave
disp("testing...")... (0 Replies)
Hello all,
I have a ksh script run on Solaris 10 by the root user. The section that's giving me errors is the following:
VAR=$(perl -lne '...')
if ] ; then
print "$VAR undefined"
fi
recover_files {
print "Recovering the files..."
cd ${VAR}/files
cp -pr nfs /destination
print... (1 Reply)
Hej all,
I have an script which I run it with Octave command in Linux, I want to know how could I put bash commands like grep and sed and use them together with octave?
My Octave script:
Script.sh:
m = load ("file", "-ascii")
for i=1:10
g(i)= sin(m)
end
and then I use this... (2 Replies)
This is probably something really simple, but I don't get it. I downloaded a copy of Octave and extracted it to octave-2.1.73-sol10-sparc-local. Now what do I do with it? I chmod'ed it to 777 and tried running it which just gave me an endless stream of errors. Here's the beginning of the file... (4 Replies)
In AIX, why is it variable VAR becomes true in the condition despite VAR was unassigned and not equal to 1?
In Linux, it was traced as an error as VAR is not declared as variable and expecting an integer as argument.
one.sh
VAR=1
if ; then
echo "One"
fi
if ; then
echo "Two"... (5 Replies)