MATLAB Answers

How to load *.mat files named as File-0-0.mat, File-0-1.mat and so on in Matlab. I want to do this automatically in a loop. Do anyone have idea about this thing? Please let me know.

1 view (last 30 days)
mirza
mirza on 2 Nov 2019
Commented: mirza on 3 Nov 2019
How to load *.mat files named as File-0-0.mat, File-0-1.mat and so on in Matlab. I want to do this automatically in a loop by specifying two nested loops. In each itteration the loop will load a specific *.mat file.
Meanwhile, one another concern is how to adjust the code like,
If
i=1 and j=2
and i want to load a *.mat file that is saved as File-1-2.mat
If this problem get solved then the above issue can also be resolved. Kinldy, provide me guidence in this regard.

  0 Comments

Sign in to comment.

More Answers (0)

Tags

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!