필터 지우기
필터 지우기

launching app regression learner generates an error

조회 수: 2 (최근 30일)
Jean-Marc Vesin
Jean-Marc Vesin 2023년 2월 7일
답변: Drew 2023년 2월 7일
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);
>>

답변 (1개)

Drew
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?

카테고리

Help CenterFile Exchange에서 MATLAB Web App Server에 대해 자세히 알아보기

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by