Command history file not being saved/loaded on Ubuntu
Show older comments
Hi,
I am running R2011A on Ubuntu. The history.m file saved commands from first ever session that I ran. After that it stopped updating it, and every session would load commands from that first session. I tried (backing up first and then) deleting the history file, but it would not create a new history.m file in my PREFDIR. So at the startup, the command history window is empty. Even after I manually created a history.m file, it wouldn't save anything in it. It doesn't give any error so I don't know if it is trying to save but cannot. Here are the permissions in my PREFDIR
drwxr-xr-x 2 ab ab 4096 2011-08-11 17:41 .
drwxr-xr-x 3 ab ab 4096 2011-07-07 12:55 ..
-rw-r--r-- 1 ab ab 90 2011-07-07 15:10 cwdhistory.m
-rw-r--r-- 1 ab ab 0 2011-08-11 17:41 history.m
-rw-r--r-- 1 ab ab 8632 2011-07-07 15:10 MATLABDesktop.xml
-rw-r--r-- 1 ab ab 6535 2011-07-07 12:57 MATLABDesktop.xml.prev
-rw-rw-rw- 1 ab ab 3256 2011-08-11 17:43 matlab.prf
-r-xr-xr-x 1 ab ab 7849 2011-07-07 12:56 mbuildopts.sh
-rw-r--r-- 1 ab ab 480 2011-08-11 17:39 oldhistory.m
-rw-r--r-- 1 ab ab 9201 2011-07-07 15:10 plotpickercache.xml
-rw-r--r-- 1 ab ab 1277 2011-07-07 12:55 shortcuts.xml
-rw-r--r-- 1 ab ab 724709 2011-07-07 15:10 toolbox_cache-7.12.0-2233058965-glnxa64.xml
Would appreciate any insights. Thanks! Ab
Answers (1)
Asti
on 12 Aug 2011
0 votes
Categories
Find more on Entering Commands in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!