Monday, June 1, 2009

MATLAB: Favorite Shortcuts

Some of my favorite (and most used MATLAB shortcuts).

Description Callback
Open folder XX winOpen ‘C:\XX\’
Change directory to folder XX cd ‘C:\XX\’
Open Help Browser helpbrowser
Close Help Browser com.mathworks.mde.desk.MLDesktop.getInstance.closeHelpBrowser
Clear Workspace

clear all

close all

clc

Set Editor at specific state
(See also here and here)

editorServices = com.mathworks.mlservices.MLEditorServices;

load('C:\MATLAB\Editor State Files\xxxxAnalysis.mat')

for id = 1:length( editorState )
      editorServices.openDocument( editorState(id) )
      end

No comments:

Post a Comment