I thought it would be interesting if people shared the shortcuts (or mfiles) that they usually use in Matlab to increase their performance.
Here are some of mine:
% Shortcut 1 clear all close all clc try dbquit('all') end % Shortcut 2 - Show complexity of current m-file mlint(editorservices.getActive().Filename,'-cyc','-id') % Shortcut 3 - Start debugging dbstop if error dbstop if caught error dbstop if warning % Shortcut 4 - Stop debugging dbclear if error dbclear if caught error dbclear if warning
I also use the test and create shortcuts, but they are specific to my code.
source share