"Alessandro " <
dehno...@gmail.com> wrote in message
news:k7e8os$j6h$1...@newscl01ah.mathworks.com...
> Hi all,
> I have a big problem because few days ago it was all working well and now
> nothing...
>
> I cant' use this function in MATLAB, neither from the command line:
>
http://www.mathworks.it/it/help/stats/random.html
>
> if I try to do this: random('Uniform',0,1)
> it returns:
> "Error using rand
> Seed must be a double scalar.
> Error in random.seed (line 39)
This makes me suspect that you have a class on your path named random that
is shadowing the Statistics Toolbox function. Execute this command to test
this hypothesis:
which -all random
If the first line is NOT the random.m from Statistics Toolbox, rename or
delete the random class, remove the directory containing it from the MATLAB
path, or move it lower on the path than Statistics Toolbox.
*snip*
--
Steve Lord
sl...@mathworks.com
To contact Technical Support use the Contact Us link on
http://www.mathworks.com