comparison scripts/general/subsindex.m @ 11264:79b77d71d01e

subsindex.m: Fix typo in doc-string.
author Ben Abbott <bpabbott@mac.com>
date Wed, 17 Nov 2010 20:17:10 -0500
parents 16f53d29049f
children fd0a3ac60b0e
comparison
equal deleted inserted replaced
11263:c78247b664fc 11264:79b77d71d01e
26 ## class "double". For example, if the class constructor 26 ## class "double". For example, if the class constructor
27 ## 27 ##
28 ## @example 28 ## @example
29 ## @group 29 ## @group
30 ## function b = myclass (a) 30 ## function b = myclass (a)
31 ## b = myclass (struct ("a", a), "myclass"); 31 ## b = class (struct ("a", a), "myclass");
32 ## endfunction 32 ## endfunction
33 ## @end group 33 ## @end group
34 ## @end example 34 ## @end example
35 ## 35 ##
36 ## @noindent 36 ## @noindent
60 ## @end deftypefn 60 ## @end deftypefn
61 61
62 function idx = subsindex (a) 62 function idx = subsindex (a)
63 error ("subsindex: not defined for class \"%s\"", class(a)); 63 error ("subsindex: not defined for class \"%s\"", class(a));
64 endfunction 64 endfunction
65