Multichannel-systems NeuroExplorer Manual de usuario Pagina 144

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 373
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 143
5.5.1.2. GetFileName Function
GetFileName Function
Returns the file name for the specified index after GetFileCount() was called.
Syntax
GetFileName(double index)
Parameters
Parameter Type Description
index double Index of the file in the file list created by the last call
to GetFileCount.
Returns
Returns the file name (the full path of the file) for the specified index after GetFileCount() was called.
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 142
Vista de pagina 143
1 2 ... 139 140 141 142 143 144 145 146 147 148 149 ... 372 373

Comentarios a estos manuales

Sin comentarios