Hi,
I have made a simple concept GUI to test populating a drop down menu based on the .mat files in a directory, and then loading the selected .mat file.
My code (attached – change the directory to where you save it…) is notdoing anything when I try to load the .mat file.
On the other hand if I type in the command window:
handles.Selection = 'Data2.mat'load(handles.Selection)
It loads fine… Why is this? I'm lost!
Thanks,
Matt
Best Answer