How to use uigetfile to open the .txt in the subfolder.
Or there are other ways to use this.
[file,filepath] = uigetfile('*.txt');WISETEST = fopen( file, 'rt');out = textscan(WISETEST, '%s', 'Delimiter',{' '});aa = out{1}(1:end)';
it seems to only open the .txt in the current directory.
Best Answer