annotate scripts/miscellaneous/mex.m @ 17392:8c5878260636

doc: Fix typo in fieldnames docstring. * scripts/general/fieldnames.m: Eliminate stray parenthesis in docstring.
author Rik <rik@octave.org>
date Fri, 06 Sep 2013 08:35:59 -0700
parents 1c89599167a6
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
14138
72c96de7a403 maint: update copyright notices for 2012
John W. Eaton <jwe@octave.org>
parents: 11523
diff changeset
1 ## Copyright (C) 2006-2012 David Bateman
5904
80d3933fb8b6 [project @ 2006-07-26 17:19:10 by jwe]
jwe
parents:
diff changeset
2 ##
80d3933fb8b6 [project @ 2006-07-26 17:19:10 by jwe]
jwe
parents:
diff changeset
3 ## This file is part of Octave.
80d3933fb8b6 [project @ 2006-07-26 17:19:10 by jwe]
jwe
parents:
diff changeset
4 ##
80d3933fb8b6 [project @ 2006-07-26 17:19:10 by jwe]
jwe
parents:
diff changeset
5 ## Octave is free software; you can redistribute it and/or modify it
80d3933fb8b6 [project @ 2006-07-26 17:19:10 by jwe]
jwe
parents:
diff changeset
6 ## under the terms of the GNU General Public License as published by
7016
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 6547
diff changeset
7 ## the Free Software Foundation; either version 3 of the License, or (at
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 6547
diff changeset
8 ## your option) any later version.
5904
80d3933fb8b6 [project @ 2006-07-26 17:19:10 by jwe]
jwe
parents:
diff changeset
9 ##
80d3933fb8b6 [project @ 2006-07-26 17:19:10 by jwe]
jwe
parents:
diff changeset
10 ## Octave is distributed in the hope that it will be useful, but
80d3933fb8b6 [project @ 2006-07-26 17:19:10 by jwe]
jwe
parents:
diff changeset
11 ## WITHOUT ANY WARRANTY; without even the implied warranty of
80d3933fb8b6 [project @ 2006-07-26 17:19:10 by jwe]
jwe
parents:
diff changeset
12 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
80d3933fb8b6 [project @ 2006-07-26 17:19:10 by jwe]
jwe
parents:
diff changeset
13 ## General Public License for more details.
80d3933fb8b6 [project @ 2006-07-26 17:19:10 by jwe]
jwe
parents:
diff changeset
14 ##
80d3933fb8b6 [project @ 2006-07-26 17:19:10 by jwe]
jwe
parents:
diff changeset
15 ## You should have received a copy of the GNU General Public License
7016
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 6547
diff changeset
16 ## along with Octave; see the file COPYING. If not, see
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 6547
diff changeset
17 ## <http://www.gnu.org/licenses/>.
5904
80d3933fb8b6 [project @ 2006-07-26 17:19:10 by jwe]
jwe
parents:
diff changeset
18
80d3933fb8b6 [project @ 2006-07-26 17:19:10 by jwe]
jwe
parents:
diff changeset
19 ## -*- texinfo -*-
17178
d6499c14021c doc: Periodic grammarcheck of documentation.
Rik <rik@octave.org>
parents: 14138
diff changeset
20 ## @deftypefn {Command} {} mex [options] file @dots{}
5904
80d3933fb8b6 [project @ 2006-07-26 17:19:10 by jwe]
jwe
parents:
diff changeset
21 ## Compile source code written in C, C++, or Fortran, to a MEX file.
5917
f47c0a988fe3 [project @ 2006-07-28 21:21:51 by jwe]
jwe
parents: 5904
diff changeset
22 ## This is equivalent to @code{mkoctfile --mex [options] file}.
5904
80d3933fb8b6 [project @ 2006-07-26 17:19:10 by jwe]
jwe
parents:
diff changeset
23 ## @seealso{mkoctfile}
80d3933fb8b6 [project @ 2006-07-26 17:19:10 by jwe]
jwe
parents:
diff changeset
24 ## @end deftypefn
80d3933fb8b6 [project @ 2006-07-26 17:19:10 by jwe]
jwe
parents:
diff changeset
25
80d3933fb8b6 [project @ 2006-07-26 17:19:10 by jwe]
jwe
parents:
diff changeset
26 function mex (varargin)
80d3933fb8b6 [project @ 2006-07-26 17:19:10 by jwe]
jwe
parents:
diff changeset
27 args = {"--mex", varargin{:}};
80d3933fb8b6 [project @ 2006-07-26 17:19:10 by jwe]
jwe
parents:
diff changeset
28 mkoctfile (args{:});
80d3933fb8b6 [project @ 2006-07-26 17:19:10 by jwe]
jwe
parents:
diff changeset
29 endfunction
17346
1c89599167a6 maint: End m-files with 1 blank line.
Rik <rik@octave.org>
parents: 17178
diff changeset
30