change variable and assign to dataset in each loop
Show older comments
Hello,
I have one excel file that contains 12 sheets. Each sheets contains 5 columns I want to read each sheet and put in one dataset. So, I am thinking is it possible for me to create for loop in order to have 12 datasets.
as an example:
for sheet=1:12;
%import excel file (sheet)
% A(sheet)= dataset(column1, column2, column3, column4, column 5)
end
Accepted Answer
More Answers (0)
Categories
Find more on Data Import from MATLAB in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!