From: Jonas Camillus Jeppesen on
Thanks guys, this clears things up :)

I must have been using a newer version of MATLAB when I used randi() last time, because I've not been using the workaround you suggest.

Thanks again.