MATLAB Web Server Previous page   Next Page
wssetfield

Add new field or append to existing field

Syntax

Description

s = wssetfield(s,name1,value1,...) sets the contents of the field name1 to value1 and returns the result in the changed structure s. A single value is stored as a character array. Items with multiple values have the values stored in a cell array of strings. Multiple calls serve to add values to an existing field.

Either use the MATLAB getfield function to retrieve the values or reference the structure fields directly.

See Also
getfield


Previous page  wsprintjpeg Directory Structure Next page