Hello,
I got the following question and hope that you can point me to the right direction. Consider the following:
a = 5;b = struct;b.data_5 = dataset;c = genvarname(['b.data_' num2str(a)]);
c should now contain the dataset stored in b.data_5, can you help me how to achieve that? The problem is that a is dynamic, otherwise there wouldn't be such a problem.
Thank you very much.
Best Answer