launching app regression learner generates an error

3 Ansichten (letzte 30 Tage)
Jean-Marc Vesin
Jean-Marc Vesin am 7 Feb. 2023
Beantwortet: Drew am 7 Feb. 2023
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);
>>

Antworten (1)

Drew
Drew am 7 Feb. 2023
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?

Kategorien

Mehr zu Linear and Nonlinear Regression finden Sie in Help Center und File Exchange

Produkte


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by