MATLAB: How to take two inputs simultaneously from the user

inputs

[xf1 xf2]=input('Enter range of x :');

Best Answer

x=input('Enter range of x :');
xf1 = x(1) ;
xf2 = x(2) ;
Also have a look on deal.