launching app regression learner generates an error
3 次查看(过去 30 天)
显示 更早的评论
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 149)
this.MainToolstripView.delete();
Error in mlearnapp.internal.MLearnApp (line 92)
this.Session = session;
Error in mlearnapp.internal.ui.DialogFactory/createMLearnAppWindow
(line 19)
window = mlearnapp.internal.MLearnApp(session,
newSessionCreator, importTestDataCreator,
dialogFactory, toolGroup,
problemDependentToolstripFactory, metricFactory,
mainThreadBusyTracker);
Error in regressionLearner (line 102)
hApp = dialogFactory.createMLearnAppWindow(session,
newSessionCreatorFactory, importTestDataCreatorFactory, appTag,
appTitleMessage, problemDependentToolstripFactory,
metricFactory, mainThreadBusyTracker);
> In mlearnapp.internal.MLearnApp (line 92)
In mlearnapp.internal.ui/DialogFactory/createMLearnAppWindow (line 19)
In regressionLearner (line 102)
Error using newline
Too many output arguments.
Error in strescape>escapeChar (line 44)
c = newline;
Error in strescape (line 25)
str(idx) = escapeChar(str(idx));
Error in strescape (line 16)
str{iStr} = strescape(str{iStr});
Error in strsplit (line 109)
aDelim = strescape(aDelim);
Error in mlearnapp.internal.tools.SentenceSplitter>iSplitText (line 61)
splitText = strsplit(textWithNewlineCharacters, '\n');
Error in mlearnapp.internal.tools.SentenceSplitter/split (line 20)
splitText = iSplitText(originalText, margin);
Error in mlearnapp.internal.ui.toolstrip.NewSessionSplitButtonView>iAddLinebreaksToButtonLabel (line 95)
splittedString = splitter.split(instring, startMargin);
Error in mlearnapp.internal.ui.toolstrip.NewSessionSplitButtonView>iCreateSplitButton (line 83)
string = iAddLinebreaksToButtonLabel(iMessageString(messageID));
Error in mlearnapp.internal.ui.toolstrip.NewSessionSplitButtonView (line 49)
this.Button = iCreateSplitButton(icon, ...
Error in mlearnapp.internal.ui.toolstrip.ToolstripFactory/createNewSessionButtonPresenter (line 11)
view = mlearnapp.internal.ui.toolstrip.NewSessionSplitButtonView();
Error in mlearnapp.internal.ui.DialogFactory/createMainToolstripPresenter (line 43)
newSessionButtonPresenter = toolstripFactory.createNewSessionButtonPresenter(session, newSessionCreator, mainThreadBusyTracker);
Error in mlearnapp.internal.MLearnApp (line 112)
this.MainToolstripPresenter = this.DialogFactory.createMainToolstripPresenter( ...
Error in mlearnapp.internal.ui.DialogFactory/createMLearnAppWindow (line 19)
window = mlearnapp.internal.MLearnApp(session, newSessionCreator, importTestDataCreator, dialogFactory, toolGroup, problemDependentToolstripFactory, metricFactory, mainThreadBusyTracker);
Error in regressionLearner (line 102)
hApp = dialogFactory.createMLearnAppWindow(session, newSessionCreatorFactory, importTestDataCreatorFactory, appTag, appTitleMessage, problemDependentToolstripFactory, metricFactory, mainThreadBusyTracker);
>>
0 个评论
回答(1 个)
Drew
2023-2-7
More info is needed to answer directly, but here are some questions that may suggest an answer:
How did you launch the Regression Learner app, for example, from the command line, or from the app gallery? Did this error occur immediately when you launched app, or later, while using the app? If you launched the Regression Learner from the commandline, did you provide any workspace variables as arguments? What is the type of those variables? Did you use any dot indexing for those variables? On which platform are you running?
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Linear and Nonlinear Regression 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!