When you call rng with an argument, the return value is theprevious state. You need to call it again with no argument to get thecurrent state after setting the seed.
No, this is not possible in Matlab. As far as I know, you can seed it with 32 bits only - but I'm still such surprised about this, that I hope I've overseen a detail.
Best Answer