I am getting a 'Argument must contain a string' error.
Mostrar comentarios más antiguos
[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 comentarios
Stephen23
el 8 de Mayo de 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
el 8 de Mayo de 2017
Editada: Walter Roberson
el 8 de Mayo de 2017
Adam
el 8 de Mayo de 2017
Where does 'str' come from?
sivalogan satchithanandamoorthy
el 8 de Mayo de 2017
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Low-Level File I/O en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!