prompt = 'Enter data: '; title = 'Data input'; dlg_ans = inputdlg(prompt,title,[1 100]); data = str2num(dlg_ans{:});
In the above program, the user is allowed to enter as many values as he wish. So how can i assign these different values to different variables automatically as they enter each value?
Best Answer