Hello,
I get "'Value' must be an element defined in the 'ItemsData' property" errors when I try to select/deselect non-numeric variables (more precisely 'CHAR'-variables) in the ensemble during import in the app.
It used to work in the previous version, but 2021a has made some changes in the GUI for data import.
Maybe I should mention that I was running the previous version on Linux.
The relevant part of the version info and the error trace is attached below.
I wonder if a kind soul can help me figure this out.
Cheers
>> ver
-----------------------------------------------------------------------------------------------------
MATLAB Version: 9.10.0.1669831 (R2021a) Update 2
MATLAB License Number: XXXXXXXXXXXX
Operating System: Microsoft Windows 10 Home Version 10.0 (Build 19043)
Java Version: Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
-----------------------------------------------------------------------------------------------------
MATLAB Version 9.10 (R2021a)
Deep Learning Toolbox Version 14.2 (R2021a)
Parallel Computing Toolbox Version 7.4 (R2021a)
Predictive Maintenance Toolbox Version 2.3 (R2021a)
Signal Processing Toolbox Version 8.6 (R2021a)
Statistics and Machine Learning Toolbox Version 12.1 (R2021a)
------------------------------------------------------------------------------------------------------
Error using matlab.ui.control.internal.model.ExactlyOneSelectionStrategy/validateValuePresentInItemsData (line
236)
'Value' must be an element defined in the 'ItemsData' property.
Error in matlab.ui.control.internal.model.SelectedDataValueStrategy/validateValue (line 34)
value = obj.Component.SelectionStrategy.validateValuePresentInItemsData(newValue);
Error in matlab.ui.control.internal.model.AbstractStateComponent/set.Value (line 141)
value = obj.ValueStrategy.validateValue(newValue);
Error in predmaintguis.internal.ciapp.dialogs.newsession.PropertiesPanel/makeSignalIVPanel (line 362)
TypeDD.Value = SelectedNode.NodeData.Type;
Error in predmaintguis.internal.ciapp.dialogs.newsession.PropertiesPanel/makeNodeDependentPanel (line 135)
this.makeSignalIVPanel(SelectedNode);
Error in predmaintguis.internal.ciapp.dialogs.newsession.TreePanel>cbNodeSelection (line 320)
this.PropertiesPanel.makeNodeDependentPanel(event.SelectedNodes);
Error using matlab.ui.control.internal.controller.ComponentController/executeUserCallback (line 453)
Error while evaluating CheckBoxTree PrivateSelectionChangedFcn.
Error using matlab.ui.control.internal.model.ExactlyOneSelectionStrategy/validateValuePresentInItemsData (line
236)
'Value' must be an element defined in the 'ItemsData' property.
Error in matlab.ui.control.internal.model.SelectedDataValueStrategy/validateValue (line 34)
value = obj.Component.SelectionStrategy.validateValuePresentInItemsData(newValue);
Error in matlab.ui.control.internal.model.AbstractStateComponent/set.Value (line 141)
value = obj.ValueStrategy.validateValue(newValue);
Error in predmaintguis.internal.ciapp.dialogs.newsession.PropertiesPanel/makeSignalIVPanel (line 362)
TypeDD.Value = SelectedNode.NodeData.Type;
Error in predmaintguis.internal.ciapp.dialogs.newsession.PropertiesPanel/makeNodeDependentPanel (line 135)
this.makeSignalIVPanel(SelectedNode);
Error in predmaintguis.internal.ciapp.dialogs.newsession.TreePanel>cbNodeSelection (line 320)
this.PropertiesPanel.makeNodeDependentPanel(event.SelectedNodes);
Error using matlab.ui.control.internal.controller.ComponentController/executeUserCallback (line 453)
Error while evaluating CheckBoxTree PrivateSelectionChangedFcn.