Faq SPCREADR cant read multiple files: Difference between revisions

From Eigenvector Research Documentation Wiki
Jump to navigation Jump to search
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...")
(No difference)

Revision as of 13:56, 12 November 2018

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