Why can I not load image into image segmenter from workspace?

1 visualización (últimos 30 días)
When I open the image segmenter app and try to load an image from the workspace:
I get the following error:
Warning: Error occurred while executing the listener callback for event ItemPushed defined for class
matlab.ui.internal.toolstrip.ListItem:
Error using strfind
Search term must be a text or pattern scalar.
Error in contains (line 36)
tf = ~cellfun(@isempty, strfind(s, pattern));
Error in matlab.ui.internal.prepareFigureFor
Error in matlab.ui.internal.desktop.ToolGroup/addFigure (line 741)
matlab.ui.internal.prepareFigureFor(fig,mfilename('fullpath'));
Error in images.internal.app.segmenter.image.TwoMaskScrollPanel/addToApp (line 79)
hToolGroup.addFigure(self.hFig);
Error in images.internal.app.segmenter.image.ImageSegmentationTool/buildScrollPanel (line 627)
self.ScrollPanel.addToApp(self.ToolGroup);
Error in images.internal.app.segmenter.image.ImageSegmentationTool/createSessionFromImage (line 105)
self.buildScrollPanel(im);
Error in images.internal.app.segmenter.image.SegmentTab/importImageData (line 234)
self.hApp.createSessionFromImage(im, self.IsDataNormalized, self.IsInfNanRemoved, self.IsDataAdjusted);
Error in images.internal.app.segmenter.image.SegmentTab/loadImageFromWorkspace (line 657)
self.importImageData(im);
Error in images.internal.app.segmenter.image.SegmentTab>@(varargin)self.loadImageFromWorkspace(varargin{:}) (line
307)
addlistener(sub_item2, 'ItemPushed', @self.loadImageFromWorkspace);
Error in matlab.ui.internal.toolstrip.ListItem/ActionPerformedCallback (line 143)
this.notify('ItemPushed');
Error in matlab.ui.internal.toolstrip.base.Control>@(event,data)ActionPerformedCallback(this,event,data) (line 328)
this.ActionPerformedListener = addlistener(this.Action, 'ActionPerformed', @(event, data)
ActionPerformedCallback(this, event, data));
Error in matlab.ui.internal.toolstrip.base.Action/PeerEventCallback (line 839)
this.notify('ActionPerformed', eventdata);
Error in matlab.ui.internal.toolstrip.base.ActionInterface>@(event,data)PeerEventCallback(this,event,data) (line 49)
this.PeerEventListener = addlistener(this.Peer, 'peerEvent', @(event, data) PeerEventCallback(this,
event, data));
Error in hgfeval (line 62)
feval(fcn{1},varargin{:},fcn{2:end});
Error in javaaddlistener>cbBridge (line 52)
hgfeval(response, java(o), e.JavaEvent)
Error in javaaddlistener>@(o,e)cbBridge(o,e,response) (line 47)
@(o,e) cbBridge(o,e,response));
> In matlab.ui.internal.toolstrip/ListItem/ActionPerformedCallback (line 143)
In matlab.ui.internal.toolstrip.base.Control>@(event,data)ActionPerformedCallback(this,event,data) (line 328)
In matlab.ui.internal.toolstrip.base/Action/PeerEventCallback (line 839)
In matlab.ui.internal.toolstrip.base.ActionInterface>@(event,data)PeerEventCallback(this,event,data) (line 49)
In hgfeval (line 62)
In javaaddlistener>cbBridge (line 52)
In javaaddlistener>@(o,e)cbBridge(o,e,response) (line 47)
>>

Respuesta aceptada

Image Analyst
Image Analyst el 27 de Jun. de 2021
It works fine for me. It looks like some sort of java error on your computer. If restarting your computer doesn't fix it, I'd call tech support. Maybe it's an installation issue and you can get free tech support. Or if you have a maintenance contract you get "free" tech support anyway.

Más respuestas (0)

Categorías

Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.

Productos


Versión

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by