index = index + 1;
Tit{index} = input('Ask for title: ','s');
Aut{index} = input('Ask for author: ','s');
...
for J = 1 : index
fprintf('Title: %s \n',Tit{J})
fprintf('Author: %s \n',Aut{J})
...
end
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!