I have a folder named A. This folder has 5 different folder B,C,D,E,F. Each of these folders have 3 folders G,H,I.Each of the 3 folders have 18 folders(say J,K,L...) Each of the 18 folders have files with (.day) extension. i want 2 access these files

2 views (last 30 days)
clc;
clear all;
model_name={'B','C','D','E','F'};
Scenario_name={'G','H','I'}
for ii=1:5
aa=dir(['G:\Mahanadi\RCP_85\',char(model_name(ii)),'\*.day']); % I'm stuck at this point

Answers (0)

Community Treasure Hunt

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

Start Hunting!