I am getting a 'Argument must contain a string' error.
이전 댓글 표시
[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
Stephen23
2017년 5월 8일
@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
2017년 5월 8일
편집: Walter Roberson
2017년 5월 8일
Adam
2017년 5월 8일
Where does 'str' come from?
sivalogan satchithanandamoorthy
2017년 5월 8일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Low-Level File I/O에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!