Not able to open property inspector

5 visualizaciones (últimos 30 días)
PIYUSH MOHANTY
PIYUSH MOHANTY el 30 de Sept. de 2019
Respondida: Shubh Sahu el 9 de Dic. de 2019
Whenever I am trying edit a plot in Figure window through property inspector, the property inspector window does not open and has the following error in command window:
Unable to use a value of type string as an index.
Error in internal.matlab.datatoolsservices.WidgetRegistry/registerWidgets (line 406)
this.Map(key) = this.createWidgetStruct(editor, inPlaceEditor, renderer, converter);
Error in internal.matlab.legacyvariableeditor.peer.PeerManager/openvar (line 544)
w.registerWidgets('internal.matlab.legacyvariableeditor.peer.PeerTableViewModel','',
'variableeditor/views/TableArrayView','','');
Error in internal.matlab.inspector.Inspector/inspect (line 219)
varDocument = openvar(this, DataModel.Name, ...
Error in internal.matlab.inspector.peer.PeerInspectorManager/inspect (line 283)
peerInspectorDocument = this.inspect@internal.matlab.inspector.Inspector(objs, ...
Error in matlab.graphics.internal.propertyinspector.PropertyInspectorManager/inspectObj (line 561)
inspectorDocument = inspectorDocumentModel.inspect(obj,...
Error in matlab.graphics.internal.propertyinspector.PropertyInspectorManager/showInspector (line 351)
this.inspectObj(objToInspect);
Error in matlab.graphics.internal.propertyinspector.propertyinspector (line 111)
hInspectorMgnr.showInspector(hObjs);
Error in matlab.graphics.internal.propertyinspector.propertyinspector (line 19)
matlab.graphics.internal.propertyinspector.propertyinspector('show');
Error in viewmenufcn (line 52)
matlab.graphics.internal.propertyinspector.propertyinspector('toggle');
Error while evaluating Menu Callback.
  2 comentarios
Shubh Sahu
Shubh Sahu el 5 de Dic. de 2019
Hey!
I'm not able to reproduce this problem. Can you please try this commands one by one and note the results.
>> w = internal.matlab.datatoolsservices.WidgetRegistry.getInstance();
>> w.registerWidgets('internal.matlab.legacyvariableeditor.peer.PeerTableViewModel','', 'variableeditor/views/TableArrayView','','');
and after this please try this one
>> val = w.createWidgetStruct('variableeditor/views/TableArrayView','','','')
Next, try this:
c = containers.Map;
c("internal.matlab.legacyvariableeditor.peer.PeerTableViewModel///") = val
And send us the output. I'm guessing some of these commands will fail.
Thanks,
Shubh
Walter Roberson
Walter Roberson el 5 de Dic. de 2019
Do you happen to be using MacOS Catalina?

Iniciar sesión para comentar.

Respuestas (1)

Shubh Sahu
Shubh Sahu el 9 de Dic. de 2019
We are unable to reproduce your problem and I believe it might be installation issue so please reinstall MATLAB.

Categorías

Más información sobre Interactive Control and Callbacks en Help Center y File Exchange.

Productos


Versión

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by