GUIDE/GUIs not working- some files inaccessible.
4 views (last 30 days)
Show older comments
Hi all,
I'm trying to run a GUIDE GUI which I made at work, on a University computer. The original GUI was developed on r2011a but it works fine on r2013a also. The Uni PCs are running r2013a but my code doesn't work.
I tried opening GUIDE from the command line and when I get the initial dialogue asking what type of GUI I'd like to create/open, I get the following errors:
>> guide
Previously accessible file "Q:\Matlab.810604 \MATLAB\R2013a\toolbox\matlab\datatypes\@opaque\double.m" is now inaccessible.
Error in javacomponentundoc_helper>createHierarchyListeners (line 506)
addlistener(hUicontainer, 'ObjectBeingDestroyed', @(o,e) deleteExistingHierarchyListeners(o,e));
Error in javacomponentundoc_helper/createPanel (line 197)
createHierarchyListeners(hUicontainer, @handleVisible);
Error in javacomponentundoc_helper (line 113)
createPanel;
Error in javacomponent (line 114)
[hcomponent, hcontainer] = javacomponentundoc_helper(varargin{:});
Error in guidetemplate (line 26)
[jc, hc] = javacomponent(quickstartpanel, [], hDialog);
Error in guide (line 70)
guidetemplate;
After choosing "Blank GUI (default)" I get further warning/errors:
Previously accessible file "Q:\Matlab.810604 \MATLAB\R2013a\toolbox\matlab\datatypes\@opaque\toChar.m" is now inaccessible.
Error in opaque/char (line 89)
Error in tempname (line 24)
tmp_name = fullfile(dirname, ['tp' strrep(char(java.util.UUID.randomUUID),'-','_')]);
Error in guidetemplate/processDialogResult (line 160)
temp = tempname;
Error in guidetemplate/dialogCallback (line 104)
processDialogResult(quickstartpanel);
Warning: Error occurred while evaluating listener callback.
I haven't been able to find a solution through MATLAB Central or the documentation. Any pointerrs would be great! :-)
Louis Vallance
P.S. I can't access Q:\ because it's a protected directory. The Uni doesn't want students tampering with their program files ;-)
2 Comments
Accepted Answer
Image Analyst
on 30 Sep 2013
Try launching GUIDE with the file's path as it sits on your local hard drive, so it doesn't try to do anything with any prior file on the Q drive:
guide('c:\fullpath\mymfile.fig')
More Answers (1)
Jan
on 30 Sep 2013
It looks really strange, that there are a different number of spaces in the path: "Q:\Matlab.810604 \" and ""Q:\Matlab.810604 \MATLAB\R2013a".
What does "I can't access Q:\" exactly mean: No write or even no read permissions?
Did you change the path during Matlab runs? E.g. addpath or path commands, but without < rehash?
See Also
Categories
Find more on Migrate GUIDE Apps 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!