Hey Evan, Thanks for you answer.. I tryed to change it but it keeps given me the same message. the new code is like that:
clear problem_statement;
problem{1}= textread('problem_DEA_Hospital.txt','%s', 'whitespace', ''); problem{2}= textread('problem_DEA_Hospital2.txt','%s', 'whitespace', '');
% read and print problem statement
for i=1:1:2
problem_statement=problem{i};
fprintf('Problem statement:\n%s', problem_statement);