This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%% Save list of files opened in MATLAB editor | |
% Get a list of open files | |
x = matlab.desktop.editor.getAll; | |
editor_open_files_list = {}; | |
for ii = 1:size(x,2) | |
editor_open_files_list=[editor_open_files_list; {x(1,ii).Filename} {x(1,ii).Text}]; %#ok<AGROW> | |
end | |
% Define backup path |
NewerOlder