I am getting a 'Argument must contain a string' error.
Ältere Kommentare anzeigen
[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));
4 Kommentare
Stephen23
am 8 Mai 2017
@sivalogan satchithanandamoorthy: please edit your question and show the complete error message This means all of the red text. You have multiple commands, and we are not going to be able to help you much if we have to guess where the error occurs.
sivalogan satchithanandamoorthy
am 8 Mai 2017
Bearbeitet: Walter Roberson
am 8 Mai 2017
Adam
am 8 Mai 2017
Where does 'str' come from?
sivalogan satchithanandamoorthy
am 8 Mai 2017
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu App Building finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!