Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mwrap(1) [debian man page]

MWRAP(1)							   MWRAP manpage							  MWRAP(1)

NAME
mwrap - Octave/MATLAB mex generator SYNOPSIS
mwrap [-mex outputmex] [-m output.m] [-c outputmex.c] [-mb] [-list] [-catch] [-c99complex] [-cppcomplex] infile1 infile2 ... DESCRIPTION
mwrap is an interface generation system in the spirit of SWIG or matwrap. From a set of augmented Octave/MATLAB script files, mwrap will generate a MEX gateway to desired C/C++ function calls and .m function files to access that gateway. The details of converting to and from Octave's or MATLAB's data structures, and of allocating and freeing temporary storage, are hidden from the user. OPTIONS
-mex specifies the name of the MEX function that the generated functions will call. This name will generally be the same as the prefix for the C/C++ output file name. -m specifies the name of the Octave/MATLAB script to be generated. -c specifies the name of the C MEX file to be generated. The MEX file may contain stubs corresponding to several different generated files. -mb redirect Octave/MATLAB function output to files named in the input. In this mode, the processor will change Octave/MATLAB function output files whenever it encounters a line beginning with @. If @ occurs alone on a line, the output will be turned off; if the line begins with @function, the line will be treated as the first line of a function, and the m-file name will be deduced from the function name; and otherwise, the characters after @ (up to the next set of white space) will be treated as a filename, and mwrap will try to write to that file. -list print to the standard output the names of all files that would be generated from redirect output by the -mb flag. -catch surround library calls in try/catch blocks in order to intercept C++ exceptions. -c99complex use the C99 complex floating point types as the default dcomplex and fcomplex types. -cppcomplex use the C++ complex floating point types as the default dcomplex and fcomplex types. mwrap 2012 MWRAP(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)
Man Page