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!