Not able to open property inspector

5 vues (au cours des 30 derniers jours)
PIYUSH MOHANTY
PIYUSH MOHANTY le 30 Sep 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 commentaires
Shubh Sahu
Shubh Sahu le 5 Déc 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 le 5 Déc 2019
Do you happen to be using MacOS Catalina?

Connectez-vous pour commenter.

Réponses (1)

Shubh Sahu
Shubh Sahu le 9 Déc 2019
We are unable to reproduce your problem and I believe it might be installation issue so please reinstall MATLAB.

Catégories

En savoir plus sur Interactive Control and Callbacks dans Help Center et File Exchange

Produits


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by