Home > functions > gui > preAnalysis > trial_extractor > private > vb_continuous_file_get_Nsample.m

vb_continuous_file_get_Nsample

PURPOSE ^

return the number of samples.

SYNOPSIS ^

function [Nsample] = vb_continuous_file_get_Nsample(obj)

DESCRIPTION ^

 return the number of samples.
 [USAGE]
    [Nsample] = vb_continuous_file_get_Nsample(obj);
 [IN]
    obj : continuous_file object.
 [OUT]
    Nsample : the number of samples.

 Copyright (C) 2011, ATR All Rights Reserved.
 License : New BSD License(see VBMEG_LICENSE.txt)

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function [Nsample] = vb_continuous_file_get_Nsample(obj)
0002 % return the number of samples.
0003 % [USAGE]
0004 %    [Nsample] = vb_continuous_file_get_Nsample(obj);
0005 % [IN]
0006 %    obj : continuous_file object.
0007 % [OUT]
0008 %    Nsample : the number of samples.
0009 %
0010 % Copyright (C) 2011, ATR All Rights Reserved.
0011 % License : New BSD License(see VBMEG_LICENSE.txt)
0012 
0013 %
0014 % --- Previous check
0015 %
0016 if ~exist('obj', 'var')
0017     error('obj is a required parameter.');
0018 end
0019 
0020 %
0021 % --- Main Procedure
0022 %
0023 Nsample = vb_meginfo_get_sample_number(obj.MEGinfo);

Generated on Tue 27-Aug-2013 11:46:04 by m2html © 2005