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 File Reference
#include <iomanip>
#include <iostream>
#include <sstream>
#include <vector>
#include <queue>
#include "Array-util.h"
#include "byte-swap.h"
#include "lo-utils.h"
#include "quit.h"
#include "oct-locbuf.h"
#include "defun.h"
#include "error.h"
#include "mxarray.h"
#include "ov-cell.h"
#include "oct-obj.h"
#include "unwind-prot.h"
#include "utils.h"
#include "ov-base-mat.h"
#include ""
#include "ov-re-mat.h"
#include "ov-scalar.h"
#include "pr-output.h"
#include "gripes.h"
#include "ls-oct-ascii.h"
#include "ls-oct-binary.h"
#include "ls-hdf5.h"
#include "ls-utils.h"
Include dependency graph for

Go to the source code of this file.


#define CELL_ELT_TAG   "<cell-element>"


 DEFUN (iscell, args,,"-*- texinfo -*-\n\ @deftypefn {Built-in Function} {} iscell (@var{x})\n\ Return true if @var{x} is a cell array object.\n\ @seealso{ismatrix, isstruct, iscellstr, isa}\n\ @end deftypefn")
 DEFUN (cell, args,,"-*- texinfo -*-\n\ @deftypefn {Built-in Function} {} cell (@var{n})\n\ @deftypefnx {Built-in Function} {} cell (@var{m}, @var{n})\n\ @deftypefnx {Built-in Function} {} cell (@var{m}, @var{n}, @var{k}, @dots{})\n\ @deftypefnx {Built-in Function} {} cell ([@var{m} @var{n} @dots{}])\n\ Create a new cell array object.\n\ If invoked with a single scalar integer argument, return a square\n\ @nospell{NxN} cell array. If invoked with two or more scalar\n\ integer arguments, or a vector of integer values, return an array with\n\ the given dimensions.\n\ @end deftypefn")
 DEFUN (iscellstr, args,,"-*- texinfo -*-\n\ @deftypefn {Built-in Function} {} iscellstr (@var{cell})\n\ Return true if every element of the cell array @var{cell} is a\n\ character string.\n\ @seealso{ischar}\n\ @end deftypefn")
 DEFUN (cellstr, args,,"-*- texinfo -*-\n\ @deftypefn {Built-in Function} {} cellstr (@var{string})\n\ Create a new cell array object from the elements of the string\n\ array @var{string}.\n\ @end deftypefn")
 DEFUN (struct2cell, args,,"-*- texinfo -*-\n\ @deftypefn {Built-in Function} {} struct2cell (@var{S})\n\ Create a new cell array from the objects stored in the struct object.\n\ If @var{f} is the number of fields in the structure, the resulting\n\ cell array will have a dimension vector corresponding to\n\ @code{[@var{F} size(@var{S})]}. For example:\n\ \n\ @example\n\ @group\n\ s = struct (\"name\", @{\"Peter\", \"Hannah\", \"Robert\"@},\n\ \"age\", @{23, 16, 3@});\n\ c = struct2cell (s)\n\ @result{} c = @{2x1x3 Cell Array@}\n\ c(1,1,:)(:)\n\ @result{}\n\ @{\n\ [1,1] = Peter\n\ [2,1] = Hannah\n\ [3,1] = Robert\n\ @}\n\ c(2,1,:)(:)\n\ @result{}\n\ @{\n\ [1,1] = 23\n\ [2,1] = 16\n\ [3,1] = 3\n\ @}\n\ @end group\n\ @end example\n\ \n\ @seealso{cell2struct, fieldnames}\n\ @end deftypefn")
static void gripe_failed_assignment (void)

Macro Definition Documentation

#define CELL_ELT_TAG   "<cell-element>"
case umap_ ## UMAP: \
return matrix.UMAP ()

Referenced by octave_cell::map().

Function Documentation

DEFUN ( iscell  ,

Definition at line 1268 of file

References octave_value::is_cell(), and print_usage().

DEFUN ( cell  ,
DEFUN ( iscellstr  ,

Definition at line 1345 of file

References octave_value::is_cellstr(), and print_usage().

DEFUN ( cellstr  ,
DEFUN ( struct2cell  ,
static void gripe_failed_assignment ( void  )

Definition at line 132 of file

References error().

Referenced by octave_cell::subsasgn().