Home > brede > brede_bib_getfield.m

brede_bib_getfield

PURPOSE ^

brede_bib_getfield - Get a field from a 'Bib' structure

SYNOPSIS ^

function F = brede_bib_getfield(B, varargin)

DESCRIPTION ^

 brede_bib_getfield   - Get a field from a 'Bib' structure

       function F = brede_bib_getfield(B, vararagin)

       Input:    B        'Bib' structure
         
       Property: Field    [ abstract | affiliation | publicationType
                          | Author.keyname |
                          References.Author.keyname |
                          Reference.Author(1).keyname |
                          {References.journal} | (a field in B) ]  

       Output:   F       Field values

       This function returns a field from the Bib structure.
       'References.Author.keyname' will get all cited authors,
       'Reference.Author(1).keyname' will get only the first author.

       Example:
         J = brede_bib_getfield(B, 'Field', 'References.journal');
         I = unique(J);
 
         % Get entries with publicationType=='Peer Reviewed')
         pt = brede_bib_getfield(Bpm, 'field', 'publicationType');
         unique(pt)
         indices = strmatch('Peer Reviewed', pt)
         { Bpm{indices} }
 
       See also BREDE, BREDE_BIB, BREDE_BIB_BIB2MAT.

 $Id: brede_bib_getfield.m,v 1.10 2003/08/14 15:19:21 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