I am getting a 'Argument must contain a string' error.
Afficher commentaires plus anciens
[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 commentaires
Stephen23
le 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
le 8 Mai 2017
Modifié(e) : Walter Roberson
le 8 Mai 2017
Adam
le 8 Mai 2017
Where does 'str' come from?
sivalogan satchithanandamoorthy
le 8 Mai 2017
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Low-Level File I/O dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!