MATLAB Answers


multiple file selection and processing

Asked by Asl
on 20 Oct 2013
Latest activity Answered by Asl
on 21 Oct 2013

Hallo How I can process milti file selection? [FileName,wfolder] = uigetfile({'*.xlsx'},'MultiSelect','on');

I save results in txt file using dlmwrite command.

If I select one file it works dlmwrite('abc',abc,'-append','delimiter',' ','roffset',1);

When I select more file it does not work. How can I do this? Thanks in advance



No products are associated with this question.

2 Answers

Answer by Image Analyst
on 20 Oct 2013

What are you calling the "results", because nothing in your call to dlmwrite() is an output of uigetfile()?

See the FAQ:


Answer by Asl
on 21 Oct 2013

results are abc which i save in the form of txt file. now if I select multiple files. i want the results "abc" to be saved in the same txt file.


Join the 15-year community celebration.

Play games and win prizes!

Learn more
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!