I have the following in MATLAB:
data1 = xlsread('C:\Desktop\example.xlsx','PKA1');
data2 = xlsread('C:\Desktop\example.xlsx','PKA2');
All the way up to 24.
How can I create a loop to do this for me?
This would create 24 variables: data1, data2, data3, etc. all corresponding to PKA1, PKA2, PKA3, etc.
How can I create a loop that reads in data1, data2, without writing them all out?