Having trouble loading data in my GUI

1 view (last 30 days)
Jeremiah Enright
Jeremiah Enright on 4 Dec 2014
I currently created a GUI that does statistical analysis of different data sets that can be loaded by the user as excel files. everything was working fine until I packaged it and installed the app on my computer. It will no longer load the data files. I did find that my GUI will not load files that are not in the folder that my GUI is located in either.
The code I am currenlt using is:
Name=uigetfile; handles.V1=xlsread(Name); handles.V1=xlsread(Name); set(handles.listbox1, 'String', handles.V1); guidata(hObject,handles)
and the error I get is:
XLSREAD unable to open file 'Temp.xlsx'. File '\\stmartin.edu\dfs\Users\Jeremiah.Enright\MyDocuments\MATLAB\MATLABProject\Matlabproject\Temp.xlsx' not found.
This file is located on my desktop and not in this folder.
Is there any way to make it load from another folder?

Answers (0)

Categories

Find more on Environment and Settings in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!