Filter löschen
Filter löschen

Not able to open property inspector

6 Ansichten (letzte 30 Tage)
PIYUSH MOHANTY
PIYUSH MOHANTY am 30 Sep. 2019
Beantwortet: Shubh Sahu am 9 Dez. 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 Kommentare
Shubh Sahu
Shubh Sahu am 5 Dez. 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 am 5 Dez. 2019
Do you happen to be using MacOS Catalina?

Melden Sie sich an, um zu kommentieren.

Antworten (1)

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

Kategorien

Mehr zu Interactive Control and Callbacks finden Sie in Help Center und File Exchange

Produkte


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by