I want to enter user input using inputdlg,
if true % prompt = {'Input the number of Criteria','Input short name of criteria'};
dlg_title = 'Alternative Evauation'; num_lines = 1; defaultans = {'3','{Criteria1,Criteria2,Criteria3}'}; answer = inputdlg(prompt,dlg_title,num_lines,defaultans);end although I am able to read 'number of Criteria' as n=str2num(answer{1})but when I try to read the read the short name of criteriaasstr=answer{2}then instead of reading str as 'Criteria1', 'Criteria2', 'Criteria3'separately, it reads as Criteria1Criteria2Criteria3,
Please tell me how can I handle the multiple string input separately.
Thanks
Best Answer