Multichannel-systems NeuroExplorer Manual do Utilizador Página 143

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 373
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 142
5.5.1.1. GetFileCount Function
GetFileCount Function
Returns the number of files that match the file filter.
Syntax
double GetFileCount(string fileFilter)
Parameters
Parameter Type Description
fileFilter string File filter specification. Can contain wildcards (*). For
example, to get all .nex files in folder C:\data\, use
filter "C:\data\*.nex".
Returns
Returns the number of files that match file filter.
Comments
None
Usage
NexScript
% repeat analysis for all .nex files in the folder
filefilter = "C:\data\*.nex"
n = GetFileCount(filefilter)
for i=1 to n
name = GetFileName(i)
doc = OpenDocument(name)
if doc > 0
% run the analysis, print results and close the file
ApplyTemplate(doc, "Interspike Interval Histograms")
PrintGraphics(doc)
CloseDocument(doc)
end
end
See Also
Introduction to NexScript Programming
NexScript Function Categories
Page 141
Vista de página 142
1 2 ... 138 139 140 141 142 143 144 145 146 147 148 ... 372 373

Comentários a estes Manuais

Sem comentários