Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

Unable to parse command history line in MATLAB

📅 2016-Feb-11 ⬩ ✍️ Ashwin Nanjappa ⬩ 📚 Archive

Problem

Everytime I start MATLAB it reports an error in my command history with the error message: Unable to parse command history line

Solution

Open the file History.xml in the MATLAB Preferences directory. You can find this directory using the command prefdir. Either find the offending entry in this XML file and delete it or just delete the entire file itself.

Tried with: MATLAB R2014a and Ubuntu 14.04