A text file could be loaded as below:
load sourceETA/Record1/result1.txt
How can I use a variable in address of loading? For example (n is a variable):
[load 'sourceETA/Record1/result',num2str(n),'.txt']
But the above code doesn't work! How do I do?
help loadinto Matlab you'd have your answer.