Faq SPCREADR cant read multiple files

From Eigenvector Research Documentation Wiki
Revision as of 13:56, 12 November 2018 by imported>Lyle (Created page with "===Issue:=== Why can't SPCREADR read multiple files I've selected? ===Possible Solutions:=== SPCREADR uses the UIGETFILE function in MATLAB. When in multiselct mode, the UI...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Issue:

Why can't SPCREADR read multiple files I've selected?

Possible Solutions:

SPCREADR uses the UIGETFILE function in MATLAB. When in multiselct mode, the UIGETFILE function has a limit of roughly 60 files.

To work around this limitation either import the files in multiple subsets of less than 60 or pass SPCREADR a list of files (using the DIR command) from the command-line using the following commands:

>> list = dir('c:\pathToDirectory\*.spc'); %list all spc files in specified directory

>> data = spcreadr(list); %read files in