error in using pcshow() in gui

1 次查看(过去 30 天)
Hello all, I am using the matlab with kinect camera to visualize point cloud data in a gui, and I keep on running into an error as follows. I call pcshow() and it works one time, but on the second call to pcshow(), I get the very long error.kindly help me as soon as possible to solve this error.thanks
Property assignment is not allowed when the object is empty. Use subscripted assignment to create an array element.
Error in vision.internal.pc.initializePCSceneControl>localRotateStopMode (line 79)
btn.State = 'off';
Error in hgfeval (line 62)
feval(fcn{1},varargin{:},fcn{2:end});
Error in matlab.uitools.internal.uimode/modeControl (line 22)
hgfeval(hThis.ModeStopFcn);
Error in matlab.uitools.internal.uimode/set.Enable (line 173)
obj.Enable = modeControl(obj,value);
Error in matlab.uitools.internal.uimodemanager>localSetMode (line 173)
set(currMode,'Enable','off');
Error in matlab.uitools.internal.uimodemanager/set.CurrentMode (line 111)
obj.CurrentMode = localSetMode(obj,value);
Error in activateuimode (line 27)
set(hManager,'CurrentMode',hMode);
Error in rotate3d>setState (line 316)
activateuimode(fig,'Exploration.Rotate3d');
Error in rotate3d (line 226)
setState(hTarget,arg2,rotatestyle)
Error in vision.internal.pc.initializePCSceneControl>initUIMode (line 134)
rotate3d(hFigure,'on');
Error in vision.internal.pc.initializePCSceneControl (line 13)
initUIMode(hFigure);
Error in pcshow (line 127)
vision.internal.pc.initializePCSceneControl(hFigure, currentAxes, vertAxis,...
Error in KinectGUI>GUI_OutputFcn (line 127)
pcshow(pc);
Error in gui_mainfcn (line 264)
feval(gui_State.gui_OutputFcn, gui_hFigure, [], gui_Handles);
Error in KinectGUI (line 42)
gui_mainfcn(gui_State, varargin{:});
>>

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Point Cloud Processing 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by