GUIDE/GUIs not working- some files inaccessible.
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
fsgeek
el 30 de Sept. de 2013
Comentada: fsgeek
el 3 de Oct. de 2013
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 comentarios
Jan
el 30 de Sept. de 2013
Editada: Jan
el 30 de Sept. de 2013
I do not understand the first paragraph exactly. Please explain again: Where does the program run, where did you develop it and where does the error occur? Does the problem concern an existing GUI or are you talking about the creation of a new one?
Respuesta aceptada
Image Analyst
el 30 de Sept. de 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')
Más respuestas (1)
Jan
el 30 de Sept. de 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?
Ver también
Categorías
Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!