Skip to content

Commit f246241

Browse files
author
quantitativeTEM
authored
Update StatSTEM.m
1 parent 48b884c commit f246241

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

StatSTEM.m

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function StatSTEM()
2424
addpath([path,';',genpath(pathF),';',genpath(pathG)])
2525

2626
% Start a splash screen
27-
splashImg = imread([pathG,filesep,'splash.png']);
27+
splashImg = imread('splash.png');
2828
spl = splash(splashImg);
2929

3030
% Check matlab version, and switch opengl
@@ -33,7 +33,7 @@ function StatSTEM()
3333
opengl hardware
3434

3535
% Load the standard pathname
36-
h.startPath = [pathG,filesep,'startPath.txt'];
36+
h.startPath = 'startPath.txt';
3737
if exist(h.startPath, 'file')==0
3838
if ispc
3939
h.PathName = getenv('USERPROFILE');
@@ -77,7 +77,7 @@ function StatSTEM()
7777
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');
7878

7979
% Create image of StatSTEM
80-
imgPan = imread([pathG,filesep,'imgGUI.png']);
80+
imgPan = imread('imgGUI.png');
8181
h = panelStatSTEM(h,imgPan);
8282

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

0 commit comments

Comments
 (0)