• Getting Matlab command window history in Windows

    by  • September 28, 2011 • windows • 2 Comments

    A few months ago whilst writing up my thesis and doing some number crunching with Matlab, my machine died spectacularly, leaving the hard drive but not much else intact.

    Making good use of the command window in Matlab I wanted to recover this history – so armed with the hard drive and not much else I went looking for where the history of the command window is kept.

    The file you’re looking for is history.m, which if you are using Vista/Windows 7 you’ll find in the following folder:


    * of course you’ll need to replace R2008b with the version you are using also!


    .NET developer at thetrainline.com, previously web developer at MRM Meteorite. Awarded a PhD in misbehaviour detection in wireless ad-hoc networks. A keen C# ASP.net developer bridging the gap with APIs and JavaScript frameworks, one web app at a time.


    2 Responses to Getting Matlab command window history in Windows

    1. subha
      June 21, 2012 at 9:28 am

      details about matlab command window

    2. kirankumar
      January 29, 2014 at 4:41 am

      Matlab got crashed after performing some simulations. I want to find the root cause of the crash. Is there a way to retrieve the Error text on command window before Matlab got crash?.

    Leave a Reply

    Your email address will not be published. Required fields are marked *