Shared Flashcard Set

Details

Test 2 coverage 3
Chap 7
9
Computer Science
Undergraduate 1
03/06/2011

Additional Computer Science Flashcards

 


 

Cards

Term
{...}
Definition
defines a cell array
Term
.
Definition
used to access fields of a structure
Term
struct.(var)
Definition
allows "var" (a variable) to become the fieldname
Term
getfield(struct(index), 'fieldname')
Definition
fives you the VALUE of the specific fieldname in sctructure "struct' with specific index
Term
isa(obj, class)
Definition
returns 1 is the class of obj matches class.
note enter like: 'struct' or 'char'
Term
struct2cell
Definition
changes structure into a cell
Term
cell2struct
Definition
changes cell to a structure
Term
struct('fieldname', data)
Definition
creates structure with fieldname "fieldname" which includes data.
Term
setfield(struct, , )
Definition
changes fieldname to value.
Supporting users have an ad free experience!