Faq SPCREADR cant read multiple files

From Eigenvector Documentation Wiki
Jump to: navigation, 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 


Still having problems? Please contact our helpdesk at helpdesk@eigenvector.com