Watch this Author's files
Dear Nikolay S. and Dan K.,
A very happy new year to you two also. After Dan's modification I am having no problem running this .m file. It has been hugely helpful, so my thanks to you both.
I tested the example provided in your code and iSel is 3 (the default selection) regardless of which button is pressed. Is there a fix for this, cause otherwise the program doesn't work.
With the old questdlg I could just say variable=questdlg(inputs) and the button I pressed would be assigned to variable. With this function it doesn't seem to be working.