Unable to lauch classification learner
2 次查看(过去 30 天)
显示 更早的评论
When i tried to lauch classification learner, it poped out and crashed saying:
Warning: The following error was caught while executing 'mlearnapp.internal.MLearnApp' class destructor:
Dot indexing is not supported for variables of this type.
Error in mlearnapp.internal.MLearnApp/delete (line 110)
this.MainToolstripView.delete();
Error in mlearnapp.internal.MLearnApp (line 71)
function this = MLearnApp(session, dialogFactory, toolGroup, problemDependentToolstripFactory,
mainThreadBusyTracker)
Error in mlearnapp.internal.ui.DialogFactory/createMLearnAppWindow (line 32)
window = mlearnapp.internal.MLearnApp(session, dialogFactory, toolGroup,
problemDependentToolstripFactory, mainThreadBusyTracker);
Error in classificationLearner (line 27)
h = dialogFactory.createMLearnAppWindow(session, groupTag, appTitleMessage, problemDependentToolstripFactory,
mainThreadBusyTracker);
> In mlearnapp.internal.MLearnApp (line 71)
In mlearnapp.internal.ui.DialogFactory/createMLearnAppWindow (line 32)
In classificationLearner (line 27)
Error using toolpack.component.TSTearOffPopup
Attempt to execute SCRIPT TSTearOffPopup as a function:
C:\Program Files\MATLAB\R2018b\toolbox\shared\controllib\general\+toolpack\+component\TSTearOffPopup.m
Error in mlearnapp.internal.ui.transformation.ManualFeatureSelectionOptionsView/createTearOff (line 103)
this.TearOff = toolpack.component.TSTearOffPopup(this.TearOffContentPanel);
Error in mlearnapp.internal.ui.transformation.ManualFeatureSelectionOptionsView (line 48)
this.createTearOff();
Error in mlearnapp.internal.model.ModelFactory/createManualFeatureSelectionOptionsPresenter (line 174)
view = mlearnapp.internal.ui.transformation.ManualFeatureSelectionOptionsView();
Error in mlearnapp.internal.ui.toolstrip.ToolstripFactory/createManualFSButtonPresenter (line 30)
manualFeatureSelectionOptionsPresenter =
modelFactory.createManualFeatureSelectionOptionsPresenter(session);
Error in mlearnapp.internal.ui.DialogFactory/createMainToolstripPresenter (line 48)
manualFSButtonPresenter = toolstripFactory.createManualFSButtonPresenter(session,
mainThreadBusyTracker, toolGroup);
Error in mlearnapp.internal.MLearnApp (line 82)
this.MainToolstripPresenter = this.DialogFactory.createMainToolstripPresenter( ...
Error in mlearnapp.internal.ui.DialogFactory/createMLearnAppWindow (line 32)
window = mlearnapp.internal.MLearnApp(session, dialogFactory, toolGroup,
problemDependentToolstripFactory, mainThreadBusyTracker);
Error in classificationLearner (line 27)
h = dialogFactory.createMLearnAppWindow(session, groupTag, appTitleMessage, problemDependentToolstripFactory,
mainThreadBusyTracker);
How could i fix this?
0 个评论
回答(1 个)
Monika Phadnis
2020-2-18
The issue might be due to some missing files in MATLAB search path.
Try restoring MATLAB's default search path by executing the following commands in MATLAB command window :
>restoredefaultpath
>rehash toolboxcache
Hope this works.
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!