Catch dirs
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
% Launch the MATLAB EASY console
|
% Launch the MATLAB EASY console
|
||||||
% Updated 240727 Bryan C Roessler to improve file operations and portability
|
% Updated 240727 Bryan C Roessler to improve file operations and portability
|
||||||
%
|
|
||||||
function varargout = EASYconsole(varargin)
|
function varargout = EASYconsole(varargin)
|
||||||
global easyDir
|
global easyDir
|
||||||
global easySuffix
|
global easySuffix
|
||||||
@@ -212,19 +212,6 @@ function varargout = EASYconsole(varargin)
|
|||||||
end
|
end
|
||||||
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
|
% GUI
|
||||||
% Easyconcole_OpeningFcn executes just before the EASYconsole GUI is made visible.
|
% Easyconcole_OpeningFcn executes just before the EASYconsole GUI is made visible.
|
||||||
% This function has no output args, see OutputFcn.
|
% This function has no output args, see OutputFcn.
|
||||||
@@ -254,11 +241,9 @@ function EASYconsole_OpeningFcn(hObject, ~, handles, varargin)
|
|||||||
else
|
else
|
||||||
set(fhconsole,'Name','EASYconsole - No Active Experiment.')
|
set(fhconsole,'Name','EASYconsole - No Active Experiment.')
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
% EASYconsole output
|
||||||
% EASYconsole OUTPUT FUNCTION %%
|
|
||||||
% Outputs from this function are returned to the command line.
|
% Outputs from this function are returned to the command line.
|
||||||
% varargout--cell array for returning output args (see VARARGOUT);
|
% varargout--cell array for returning output args (see VARARGOUT);
|
||||||
% hObject--handle to figure
|
% hObject--handle to figure
|
||||||
|
|||||||
Reference in New Issue
Block a user