Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.



Re: How to get rid of obsolete function warning
Posted:
Apr 8, 2013 8:07 PM


"Elnaz " <ebsadeghian@gmail.com> wrote in message <kjvlb2$6op$1@newscl01ah.mathworks.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.
John



