Multichannel-systems NeuroExplorer Bedienungsanleitung Seite 143

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 373
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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
Seitenansicht 142
1 2 ... 138 139 140 141 142 143 144 145 146 147 148 ... 372 373

Kommentare zu diesen Handbüchern

Keine Kommentare