"Elnaz " <firstname.lastname@example.org> wrote in message <email@example.com>... > Hi all, > Since I'm using randint function I receive: > Warning: This is an obsolete function and may be removed in the > future. > Please use RANDI instead. > To disable this warning, type > warning('off','comm:obsolete:randint'); > but everytime I startup MATLAB I have to do "warning('off','comm:obsolete:randint');" > How can I get rid of that warning permanently? > > Elnaz
Why not just switch to randi?
It won't be long before randint does disappear, and then you will need to do so anyway.