spec_value=get_tspec(cell_hdrs,cell,trial, feild) Returns a value which is an EGIS trial-specific from a matrix cell_hdrs. This matrix is that returned as the second value of the function rd_ses_hdr_v. See Also:rd_ses_hdr_v, get_tspecs_v.
0001 function spec_value = get_tspec_v(cellhdrs,cell,trial, feild) 0002 %spec_value=get_tspec(cell_hdrs,cell,trial, feild) 0003 % 0004 %Returns a value which is an EGIS trial-specific from a matrix cell_hdrs. 0005 %This matrix is that returned as the second value of the function 0006 %rd_ses_hdr_v. 0007 % 0008 %See Also:rd_ses_hdr_v, get_tspecs_v. 0009 0010 tspec_offset = 5 + ((trial-1)*(cellhdr(cell,5)/2)) + feild; 0011 spec_value = cell_hdrs(cell,tspec_offset);