GNU Octave  4.4.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
octave.cc File Reference
#include <string>
#include "file-ops.h"
#include "getopt-wrapper.h"
#include "lo-error.h"
#include "oct-env.h"
#include "str-vec.h"
#include "Cell.h"
#include "defaults.h"
#include "defun.h"
#include "display.h"
#include "error.h"
#include "input.h"
#include "interpreter.h"
#include "octave.h"
#include "oct-hist.h"
#include "oct-map.h"
#include "ovl.h"
#include "options-usage.h"
#include "ov.h"
#include "parse.h"
#include "sysdep.h"
Include dependency graph for octave.cc:

Go to the source code of this file.

Namespaces

 octave
 

Functions

OCTAVE_EXPORT octave_value_list Fargv (const octave_value_list &args, int) if you invoked Octave using the command xample octave --no-line-editing --silent nd example oindent ode
 
OCTAVE_EXPORT octave_value_list Fisguirunning (const octave_value_list &args, int)
 
OCTAVE_EXPORT octave_value_list Fprogram_invocation_name (const octave_value_list &args, int) the program name is set to the name of the script. ref
 
int octave_main (int argc, char **argv, int embedded)
 
would return a cell array of strings with the elements for an example of how to create an executable Octave script nd deftypefn *return ovl (Cell(octave::application::argv()))
 

Variables

would return a cell array of strings with the elements ode {argv} will return the list of arguments passed to the script. ref{Executable Octave Programs}
 
would return a cell array of strings with the elements ption {--no-line-editing} and ption{--silent}. If you write an executable Octave script
 

Function Documentation

◆ Fargv()

OCTAVE_EXPORT octave_value_list Fargv ( const octave_value_list args,
int   
)

Definition at line 460 of file octave.cc.

◆ Fisguirunning()

OCTAVE_EXPORT octave_value_list Fisguirunning ( const octave_value_list args,
int   
)

Definition at line 426 of file octave.cc.

References Array< T >::length(), ovl(), and print_usage().

Referenced by Fopenvar().

◆ Fprogram_invocation_name()

OCTAVE_EXPORT octave_value_list Fprogram_invocation_name ( const octave_value_list args,
int   
)

Definition at line 483 of file octave.cc.

References Array< T >::length(), ovl(), and print_usage().

◆ octave_main()

int octave_main ( int  argc,
char **  argv,
int  embedded 
)

Definition at line 402 of file octave.cc.

References argc, argv, and octave::interpreter::execute().

◆ ovl()

would return a cell array of strings with the elements for an example of how to create an executable Octave script nd deftypefn* return ovl ( Cell(octave::application::argv())  )

Variable Documentation

◆ ode

would return a cell array of strings with the elements ode {argv} will return the list of arguments passed to the script. ref{Executable Octave Programs}

Definition at line 460 of file octave.cc.

◆ ption

would return a cell array of strings with the elements ption {--no-line-editing} and ption{--silent}. If you write an executable Octave script

Definition at line 460 of file octave.cc.