0

私は最近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を使用しています。

ありがとう、ジム

4

0 に答える 0