Prev: Array of object handles
Next: randn: How to use seed
From: Chandrakanth on 28 May 2010 11:17 Whats the difference between clear and clearvars function. Nothing clearly mentioned in documentation either.
From: us on 28 May 2010 11:39 "Chandrakanth " <sylvercloud(a)gmail.com> wrote in message <htomq1$sg0$1(a)fred.mathworks.com>... > Whats the difference between clear and clearvars function. Nothing clearly mentioned in documentation either. just a thought CLEAR is the industrial strength vacuum cleaner, which also cleans mem resident functions/classes/other objs, etc (see the help)... CLEARVARS is TMW's answer to the various KEEP flavours available on the FEX: it cleans var OR keeps vars... us
From: Matt Fig on 28 May 2010 11:42 I don't think you read the help very thoroughly if you didn't see the difference! Go back and look at the help for CLEAR, specifically the optional arguments, like: all, functions, classes, java.
From: Chandrakanth on 3 Jun 2010 07:51 "Matt Fig" <spamanon(a)yahoo.com> wrote in message <htoo8t$1du$1(a)fred.mathworks.com>... > I don't think you read the help very thoroughly if you didn't see the difference! Go back and look at the help for CLEAR, specifically the optional arguments, like: all, functions, classes, java. @Matt: I thing I should have been more clear. I meant to ask the difference between following two executions. >> clear and >> clearvars I know how differently they can be used with options, but without any, is there a difference? Thanks for replies.
From: Chandrakanth on 3 Jun 2010 08:00 "us " <us(a)neurol.unizh.ch> wrote in message <htoo2s$j6j$1(a)fred.mathworks.com>... > "Chandrakanth " <sylvercloud(a)gmail.com> wrote in message <htomq1$sg0$1(a)fred.mathworks.com>... > > Whats the difference between clear and clearvars function. Nothing clearly mentioned in documentation either. > > just a thought > > CLEAR is the industrial strength vacuum cleaner, which also cleans mem resident functions/classes/other objs, etc (see the help)... > CLEARVARS is TMW's answer to the various KEEP flavours available on the FEX: it cleans var OR keeps vars... > > us Good analogy.
|
Pages: 1 Prev: Array of object handles Next: randn: How to use seed |