Skip to content

Commit

Permalink
Update StatSTEM.m
Browse files Browse the repository at this point in the history
  • Loading branch information
quantitativeTEM authored Jun 29, 2016
1 parent 48b884c commit f246241
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions StatSTEM.m
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function StatSTEM()
addpath([path,';',genpath(pathF),';',genpath(pathG)])

% Start a splash screen
splashImg = imread([pathG,filesep,'splash.png']);
splashImg = imread('splash.png');
spl = splash(splashImg);

% Check matlab version, and switch opengl
Expand All @@ -33,7 +33,7 @@ function StatSTEM()
opengl hardware

% Load the standard pathname
h.startPath = [pathG,filesep,'startPath.txt'];
h.startPath = 'startPath.txt';
if exist(h.startPath, 'file')==0
if ispc
h.PathName = getenv('USERPROFILE');
Expand Down Expand Up @@ -77,7 +77,7 @@ function StatSTEM()
h.left.loadStore.save = uicontrol('Parent',h.left.loadStore.panel,'units','normalized','Position',[0.49 0.2 0.47 0.75],'String','Save','FontSize',10,'Enable','off');

% Create image of StatSTEM
imgPan = imread([pathG,filesep,'imgGUI.png']);
imgPan = imread('imgGUI.png');
h = panelStatSTEM(h,imgPan);

%% Create right panels
Expand Down Expand Up @@ -240,4 +240,4 @@ function StatSTEM()
end
jProx.setMinimumSize(java.awt.Dimension(800, 600));
set(h.fig,'CloseRequestFcn',{@deleteFigure,h})
set(h.fig,'DeleteFCN',{@deleteFigure,h})
set(h.fig,'DeleteFCN',{@deleteFigure,h})

0 comments on commit f246241

Please sign in to comment.