Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: how to make command history permanent?
Date: Wed, 4 Jun 2008 01:38:01 +0000 (UTC)
Organization: Battelle Energy Alliance (INL)
Lines: 27
Message-ID: <g24rlp$m7v$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>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1212543481 22783 172.30.248.37 (4 Jun 2008 01:38:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 4 Jun 2008 01:38:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 688530
Xref: news.mathworks.com comp.soft-sys.matlab:472088



 > 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?"  

I too had to learn the hard way.  If you are doing something
that is valuable (or complex) and you think you may need for
future reference, save it in a script file.