Not the embedded matlab function, even if I think that it has to work well, but
MATLAB function, and in the properties of the block you have to specify "rand" or "randn".
I try this
constant (1) --> Matlab function (rand) --> scope.
It gives me always different values