MATLAB Answers

Asl

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

  0 Comments

Products

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: http://matlab.wikia.com/wiki/FAQ#How_can_I_process_a_sequence_of_files.3F

  0 Comments


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.

  0 Comments


Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply today