[MATLAB logo] Exploiting MATLAB's Data Structures

Deal

Usage: deal vectorizes the conversion of cell arrays to structures and the extraction of multiple elements. deal is most useful when used with cell arrays and structures via comma separated list expansion.

Examples:

[s.field] = deal(x)
[x{:}] = deal(a.field)
[a,b,c,...] = deal(x{:})
[a,b,c,...] = deal(s.field)

Problem #7 - Vectorized Set/Get

Copyright © 1997 The MathWorks, Inc.
clay@mathworks.com
$Revision$ $Date$