Skip to content

separatePausedNSx_old

  separatePausedNsx    Saves paused data segments from a single NSx file 
                       as individual NSx files

     separatePausedNSx(FILENAME) where FILENAME has N paused segments
     will create N individual files with the same extension named
     FILENAME-1, FILENAME-2, ..., FILENAME-N.

     separatePausedFiles without any input arguments opens a UIgetfile to
     select the NSx file to separate

     Brett Dowden
     bdowden@blackrockmicro.com
     Nick Halper
     nhalper@blackrockmicro.com
     Blackrock Microsystems
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  Version History

  1.0.0.0: Initial release

  1.1.0.0:
    - Fixed a broken function that dependent on a non-existant saveNEV
    script.

  1.2.0.0:
    - Corrected  NSx_out.MetaTags.Filename     =
    [NSx.MetaTags.Filename(1:end) '-p' sprintf('%03d', i)
    NSx.MetaTags.FileExt] which was incorrectly removing the last 4
    characters of the filename in an attempt to remove the extension.
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%