[fileName,filePath] = uigetfile({'*.txt'},'Pick a file','MultiSelect','on')pathToFile = fullfile(filePath,fileName)x= size(pathToFile,2)store=load(pathToFile(:,1));prompt ='Please choose the Stress column';stress=store(:,input(prompt));prompt ='Please choose the strain column';strain=store(:,input(prompt));
MATLAB: I am getting a ‘Argument must contain a string’ error.
multiselectuigetfile
Best Answer