How to close wrl in gui
Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
Ältere Kommentare anzeigen
% --- Executes on button press in pushbutton1.
function pushbutton1_Callback(hObject, eventdata, handles)
cc = vrworld('cube.wrl');
open(cc);
c1 = vr.canvas(cc, gcf,[200 240 320 240]);
set(c1,'Units','normalized')
guidata(hObject, handles);
% --- Executes on button press in pushbutton2.
function pushbutton2_Callback(hObject, eventdata, handles)
close(cc);
Can't working
Help Please ...
Antworten (2)
Walter Roberson
am 12 Mai 2012
0 Stimmen
open() requires an argument that is the name of a file or variable.
Perhaps you want open(cc)
Taewa kaewplang
am 12 Mai 2012
1 Kommentar
Walter Roberson
am 12 Mai 2012
"myworld" is local to the workspace of pushbutton1_Callback
Please read through
http://matlab.wikia.com/wiki/FAQ
Diese Frage ist geschlossen.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!