Home > helper > testStructContents.m
Validates a structure for the required parameters
function valid = testStructContents(inputStruct,fieldList)
Validates a structure for the required parameters Checks if the given structure has the required set of fields INPUTS inputStruct - Structure which needs to be validated fieldList - List of fields that must be contained in the structure OUTPUTS valid - Boolean value indicating if the structure is valid or not EXAMPLE % Written by : Avinash Ravichandran % $DATE : 27-Aug-2011 01:31:43 $ % $REVISION : 1.00 $
This function calls:
This function is called by: