The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Reload Command History
Replies: 3   Last Post: Sep 9, 2014 2:57 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 4
Registered: 8/18/14
Reload Command History
Posted: Aug 18, 2014 2:01 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Is there any way to force MATLAB to re-read in the history.xml file? I am using DropBox to synchronize my history.xml files on multiple computers. MATLAB seems to only ever append this file, not overwrite it, so this works wonderfully. I can run commands on either computer and the history.xml has commands from both. But MATLAB doesn't refresh the commands in the command history window until you restart MATLAB. Is there a command that I can run to make MATLAB refresh the History window like it would do upon startup? I don't want to have to close and restart MATLAB every time I work on another computer , because I have issues with saving my large workspaces. If I try to use v7.3 format, the variables come out 100 times too big and take too long to save and load. That's some serious overhead!

It's got to be in one of these internal matlab commands. For example, to show the history window the command is com.mathworks.mde.desk.MLDesktop.getInstance.showCommandHistory;

Where is the loadCommandHistory command?

Thank you

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.