Path: news.mathworks.com!not-for-mail
From: "Bjorn Gustavsson" <bjonr@irf.se>
Newsgroups: comp.soft-sys.matlab
Subject: Re: how to make command history permanent?
Date: Wed, 4 Jun 2008 07:22:02 +0000 (UTC)
Organization: Ttroms&#248; University
Lines: 32
Message-ID: <g25fqq$3at$1@fred.mathworks.com>
References: <g21skv$vhc$1@news.stanford.edu> <86752402-6902-4f73-bf7d-429ac8b16771@s50g2000hsb.googlegroups.com> <g23gqj$8qb$1@fred.mathworks.com> <g24ouv$v47$1@news.stanford.edu> <g24rlp$m7v$1@fred.mathworks.com>
Reply-To: "Bjorn Gustavsson" <bjonr@irf.se>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1212564122 3421 172.30.248.38 (4 Jun 2008 07:22:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 4 Jun 2008 07:22:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 19453
Xref: news.mathworks.com comp.soft-sys.matlab:472104



"Matt Fig" <spamanon@yahoo.com> wrote in message
<g24rlp$m7v$1@fred.mathworks.com>...
>  > Thanks! But I don't like log all the outputs. Because
> that's going to be 
> > huge. I just want all the command histories.
> 
> >I got to know that Matlab command history has 
> > a default length limit of 20K, which is bad desgin.
> > 
> > I think it should just allow an infinite amount of command
> history to be 
> > saved.
> > 
> > Why cares about the size of those texts today with large
> harddisk? The most 
> > important is the convenience of being able to dig out
> which command one has 
> > used a few months ago.
> 
> 
> Your statements don't seem to add up.  You are worried about
> saving output because it will be "huge," but you vent
> against Matlab's "bad design" for not storing "infinite"
> command history?  What is "huge" next to "infinite?"  
> 
Seriously MAtt, it is after all a question of how _fast_
things grow. For this statement:

A = ones(1e4)

we dont really need the output, do we?
Bjorn