MATLAB Answers

John

Converting .mat files to .xls

Asked by John
on 12 Mar 2012

Hello,

I'm trying to load 1000 .mat files with file names cycle1.mat cycle 2.mat...cycle1000.mat and save them as excel files with the same name.

Would somebody be able to advise me on who to do it? I've no programming experience but keen to learn.

This is what I have got so far

    for ii = 1:1000
    C{ii} = importdata(['cycle' num2str(ii) '.mat']) ; 
    save 
    end

  0 Comments

Tags

Products

No products are associated with this question.

0 Answers

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply today