GNU Octave  3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Macros | Functions | Variables File Reference
#include <cstdlib>
#include <cstring>
#include <algorithm>
#include <iostream>
#include <string>
#include <sys/types.h>
#include <unistd.h>
#include <X11/Xlib.h>
Include dependency graph for

Go to the source code of this file.


#define OCTAVE_ARCHLIBDIR   "/usr/local/libexec/octave/3.8.0/exec/x86_64-unknown-linux-gnu"
#define OCTAVE_BINDIR   "/usr/local/bin"
#define OCTAVE_PREFIX   "/usr/local"
#define OCTAVE_VERSION   "3.8.0"


bool display_available (std::string &err_msg)
static std::string get_octave_archlibdir (void)
static std::string get_octave_bindir (void)
static std::string get_octave_home (void)
int main (int argc, char **argv)
static int octave_exec (const std::string &file, char **argv)
static std::string octave_getenv (const std::string &name)
static charstrsave (const char *s)
static std::string subst_octave_home (const std::string &s)


static const char dir_sep_char = '/'

Macro Definition Documentation

#define OCTAVE_ARCHLIBDIR   "/usr/local/libexec/octave/3.8.0/exec/x86_64-unknown-linux-gnu"
#define OCTAVE_BINDIR   "/usr/local/bin"

Definition at line 54 of file

Referenced by Foctave_config_info(), get_octave_bindir(), initialize(), and set_default_bin_dir().

#define OCTAVE_PREFIX   "/usr/local"
#define OCTAVE_VERSION   "3.8.0"

Function Documentation

bool display_available ( std::string &  err_msg)

Definition at line 132 of file

Referenced by gtk_manager::gtk_manager(), and main().

static std::string get_octave_archlibdir ( void  )

Definition at line 447 of file

References OCTAVE_ARCHLIBDIR, octave_getenv(), and subst_octave_home().

Referenced by main().

static std::string get_octave_bindir ( void  )

Definition at line 434 of file

References OCTAVE_BINDIR, octave_getenv(), and subst_octave_home().

Referenced by main().

static std::string get_octave_home ( void  )

Definition at line 396 of file

References octave_getenv(), and OCTAVE_PREFIX.

Referenced by subst_octave_home().

int main ( int  argc,
char **  argv 
static int octave_exec ( const std::string &  file,
char **  argv 

Definition at line 579 of file

Referenced by main().

static std::string octave_getenv ( const std::string &  name)

Definition at line 388 of file

Referenced by get_octave_archlibdir(), get_octave_bindir(), and get_octave_home().

static char* strsave ( const char s)
static std::string subst_octave_home ( const std::string &  s)

Variable Documentation

const char dir_sep_char = '/'

Definition at line 384 of file

Referenced by subst_octave_home().