Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
How to close wrl in gui
조회 수: 4 (최근 30일)
이전 댓글 표시
% --- 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 ...
댓글 수: 0
답변 (2개)
Walter Roberson
2012년 5월 12일
open() requires an argument that is the name of a file or variable.
Perhaps you want open(cc)
댓글 수: 0
Taewa kaewplang
2012년 5월 12일
댓글 수: 1
Walter Roberson
2012년 5월 12일
"myworld" is local to the workspace of pushbutton1_Callback
Please read through
http://matlab.wikia.com/wiki/FAQ
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!