The syntax wiener2(I,[m n],[mblock nblock],noise) has been removed. Use the wiener2(I,[m n],noise) syntax instead.
J = wiener2(I,[m n],noise)[J,noise] = wiener2(I,[m n])
You can give an example if you know one.