How to close wrl in gui
情報
この質問は閉じられています。 編集または回答するには再度開いてください。
古いコメントを表示
% --- 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 日
0 投票
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!