Matlab中的impoly崩溃错误

时间:2013-01-22 12:52:18

标签: matlab crash-reports

我最近一直在开发一个GUI,它运行良好,直到Matlab在运行不相关的代码时崩溃。我的代码中允许用户绘制ROI的部分不再有效,并且在我的impoly调用中报告错误(在Matlab崩溃之前完美地工作):

function cb(src,evt)
handles = guidata(src);  %# import the data from the object
images=handles.images;
start = handles.view_slice;
last = handles.slices;
imshow(images(:,:,start),[])
h=impoly;
position = getPosition(h);

我现在得到的错误是:

Error using hittest
Invalid object handle
Error in imshared.ipthittest (line 33)
h = hittest(hFigure, currentPoint);
Error in findLowestManagedObject (line 14)
    hit_obj =
    imshared.ipthittest(hFigure,buttonMotionEvent.currentPoint);
Error in iptPointerManager>createPointerManager/updatePointer
(line 334)
        overMe =
        findLowestManagedObject(hFigure,mouseMotionEvent);
Error in
iptPointerManager>createPointerManager/enablePointerManager (line
259)
            updatePointer(figHandle, evt);
Error in iptPointerManager (line 72)
    pointerManager.API.enable();
Error in manageInteractivePlacement (line 76)
      iptPointerManager(h_fig,'Enable');
Error in impoly>impolyAPI (line 245)
      placement_aborted =
      manageInteractivePlacement(h_axes,h_group,@placePolygon,@buttonUpPlacement);
Error in impoly (line 97)
            [h_group,draw_api] = impolyAPI(varargin{:});
Error in volume_scan>cb (line 288)
h=impoly;
Error while evaluating uitoggletool OnCallback

除了这不起作用之外,还有其他奇怪之处,包括文章卡在GUIDE上的表格(我无法删除)和一个隐藏默认为第3个选项的复选框文本

有人有任何想法吗?是否存在需要重置/删除的崩溃文件?我正在使用2012b。

谢谢,吉姆

0 个答案:

没有答案