Unable to lauch classification learner

7 views (last 30 days)
Zilong He
Zilong He on 17 Feb 2020
Commented: Zilong He on 21 Feb 2020
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?

Answers (1)

Monika Phadnis
Monika Phadnis on 18 Feb 2020
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.
  1 Comment
Zilong He
Zilong He on 21 Feb 2020
No... It does not work. I have tried to re-install the machine learning app but it still fails while launching.

Sign in to comment.

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!