The Math Forum

Search All of the Math Forum:

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

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

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

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,130
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 " <> wrote in message <kjvlb2$6op$>...
> 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.


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

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.