diff --git a/StatSTEM.m b/StatSTEM.m index bbd2c2f..6b2fbe2 100644 --- a/StatSTEM.m +++ b/StatSTEM.m @@ -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 @@ -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'); @@ -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 @@ -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}) \ No newline at end of file +set(h.fig,'DeleteFCN',{@deleteFigure,h})