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


Log in to comment.

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:


Log in to comment.

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.


Log in to comment.

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!