Home > brede > brede_struct_fieldnames.m

brede_struct_fieldnames

PURPOSE ^

brede_struct_fieldnames - Return fieldnames

SYNOPSIS ^

function names = brede_struct_fieldnames(S, varargin)

DESCRIPTION ^

 brede_struct_fieldnames - Return fieldnames

       names = brede_struct_fieldnames(S)

       Input:   S     Structure

       Output:  names fieldnames

       Corresponds to matlab 'fieldnames' function but also works for
       cell array of structures. 

       Example:
         f = fullfile(fileparts(which('brede')), 'data');
         f = fullfile(f, 'LawI1997Activation_1.csv');
         L = brede_read_csv2loc(f);
         brede_struct_fieldnames(L)

       See also BREDE, BREDE_STRUCT.

 $Id: brede_struct_fieldnames.m,v 1.1 2004/10/01 11:05:13 fnielsen Exp $

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 27-Nov-2009 18:11:22 by m2html © 2005