#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"
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 |
OCTAVE_EXPORT octave_value_list Fargv | ( | const octave_value_list & | args, |
int | |||
) |
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().
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().
int octave_main | ( | int | argc, |
char ** | argv, | ||
int | embedded | ||
) |
Definition at line 402 of file octave.cc.
References argc, argv, and octave::interpreter::execute().
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()) | ) |
Referenced by Fisguirunning(), and Fprogram_invocation_name().