Home > . > copyfields.m

copyfields

PURPOSE ^

'copyfields' copy fields between two matlab structures

SYNOPSIS ^

function NewData=copyfields(listfields,SourceData,OldData)

DESCRIPTION ^

'copyfields' copy fields between two matlab structures
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 OUPUT:
 NewData: resulting structure

INPUT:
 listfields: cell arrays representing the list of field names to be copied
 SourceData: structure containing the source data to copy in NewData
 OldData: (optional) preexisting data structure.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Wed 10-Mar-2010 20:42:36 by m2html © 2003