Begin EASYconsole.m work on server
This commit is contained in:
@@ -1,4 +1,7 @@
|
|||||||
% Launch the MATLAB EASY console
|
% Launch the MATLAB EASY console
|
||||||
|
%
|
||||||
|
% Updated 240724 Bryan C Roessler to improve file operations and portability
|
||||||
|
%
|
||||||
function varargout = EASYconsole(varargin)
|
function varargout = EASYconsole(varargin)
|
||||||
% initialize global variables for function EASYconsole
|
% initialize global variables for function EASYconsole
|
||||||
%global ExpOutmat
|
%global ExpOutmat
|
||||||
@@ -218,7 +221,7 @@ function LoadDatFile_Callback(~, ~, ~)
|
|||||||
ExpPath=fullfile('../../',openExppath)
|
ExpPath=fullfile('../../',openExppath)
|
||||||
|
|
||||||
if isfolder(fullfile(openExppath, '..','..','1')) %If Inovation Vrobot Then
|
if isfolder(fullfile(openExppath, '..','..','1')) %If Inovation Vrobot Then
|
||||||
if exist(fullfile(resDir,'PTmats','NImParameters.mat'))
|
if exist(fullfile(resDir,'PTmats','NImParameters.mat'), 'file')
|
||||||
load(fullfile(resDir,'PTmats','NImParameters.mat'));
|
load(fullfile(resDir,'PTmats','NImParameters.mat'));
|
||||||
else
|
else
|
||||||
curDir=pwd;
|
curDir=pwd;
|
||||||
@@ -227,7 +230,7 @@ function LoadDatFile_Callback(~, ~, ~)
|
|||||||
cd(curDir)
|
cd(curDir)
|
||||||
end
|
end
|
||||||
else %If Epson 10Plate Scans Then>
|
else %If Epson 10Plate Scans Then>
|
||||||
if exist(fullfile(resDir,'PTmats','ImParameters.mat'))
|
if exist(fullfile(resDir,'PTmats','ImParameters.mat'), 'file')
|
||||||
load(fullfile(resDir,'PTmats','ImParameters.mat'));
|
load(fullfile(resDir,'PTmats','ImParameters.mat'));
|
||||||
else
|
else
|
||||||
curDir=pwd;
|
curDir=pwd;
|
||||||
|
|||||||
Reference in New Issue
Block a user