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...")
 
imported>Lyle
No edit summary
 
Line 5: Line 5:
===Possible Solutions:===
===Possible Solutions:===


SPCREADR uses the UIGETFILE function in MATLAB. When in multiselct mode, the UIGETFILE function has a limit of roughly 60 files.  
SPCREADR uses the <code>uigetfile</code> function in MATLAB. When in multiselct mode, the <code>uigetfile</code> 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:  
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 <code>dir</code> command) from the command-line using the following commands:  


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


>> data = spcreadr(list); %read files in  
>> data = spcreadr(list); %read files in  
 
 
'''Still having problems? Please contact our helpdesk at [mailto:helpdesk@eigenvector.com helpdesk@eigenvector.com]'''


[[Category:FAQ]]
[[Category:FAQ]]

Latest revision as of 11:36, 5 December 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 


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