GUIDE/GUIs not working- some files inaccessible.
조회 수: 4 (최근 30일)
이전 댓글 표시
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
채택된 답변
Image Analyst
2013년 9월 30일
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')
추가 답변 (1개)
Jan
2013년 9월 30일
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?
참고 항목
카테고리
Help Center 및 File Exchange에서 Search Path에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!