Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: How to get rid of obsolete function warning
Replies: 3   Last Post: Apr 8, 2013 10:48 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
John D'Errico

Posts: 9,060
Registered: 12/7/04
Re: How to get rid of obsolete function warning
Posted: Apr 8, 2013 8:07 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"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



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.