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)
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.

Accepted Answer

Takumi
Takumi on 2 Nov 2019
Edited: Takumi on 2 Nov 2019

More Answers (0)

Categories

Find more on Variables in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!