Catch dirs

This commit is contained in:
2024-07-27 19:32:28 -04:00
parent b8ebff2c18
commit 7d001b3d1c

View File

@@ -1,6 +1,6 @@
% Launch the MATLAB EASY console
% Updated 240727 Bryan C Roessler to improve file operations and portability
%
function varargout = EASYconsole(varargin)
global easyDir
global easySuffix
@@ -212,19 +212,6 @@ function varargout = EASYconsole(varargin)
end
end
% To remove?
% Try to enter
% function returnStartDir
% global scansDir
% global startDir
% try
% cd(scansDir)
% catch
% msgbox('Failed to enter the project directory so starting search from where we started.');
% cd(startDir)
% end
% end
% GUI
% Easyconcole_OpeningFcn executes just before the EASYconsole GUI is made visible.
% This function has no output args, see OutputFcn.
@@ -254,11 +241,9 @@ function EASYconsole_OpeningFcn(hObject, ~, handles, varargin)
else
set(fhconsole,'Name','EASYconsole - No Active Experiment.')
end
end
% EASYconsole OUTPUT FUNCTION %%
% EASYconsole output
% Outputs from this function are returned to the command line.
% varargout--cell array for returning output args (see VARARGOUT);
% hObject--handle to figure