필터 지우기
필터 지우기

Compiling .MLAPP created in application developer

조회 수: 4 (최근 30일)
Steven Brace
Steven Brace 2019년 3월 20일
답변: Steven Brace 2019년 4월 1일
I have designed an app in the matlab app designer.
It calls 3 .m scripts in its use.
I also use a couple of dlls that I call.
Can I use the matlab compiler?
I tried and was not very successful, setting the main file to my main .mlapp file and it does compile but all I see when i attempt to run it is the splash screen and then nothing.
Any help apreciated.
Thanks
Steve
I enabled the console and these are the errors displayed:
MathWorks::System::IUserException [Error using connector.getUrl
Error in Connector: Did not start the server. Desired port was: 31415. Last error was: Error while starting socket: Invalid argument, 10022
Error in matlab.ui.internal.controller.FigurePeerModelInfo (line 38)
Error in matlab.ui.internal.controller.FigureController/createView (line 219)
Error in matlab.ui.internal.componentframework.WebComponentController/add (line 75)
Error in matlab.ui.internal.controller.WebCanvasContainerController/add (line 52)
Error in matlab.ui.internal.componentframework.WebControllerFactory/create (line 93)]
MathWorks::System::IUserException [Dot indexing is not supported for variables of this type.
Error in matlab.ui.internal.controller.WebCanvasContainerController/getPeerId (line 115)
Error in matlab.ui.internal.controller.WebCanvasContainerController/updateSceneChannel (line 134)
Error in matlab.ui.internal.controller.WebCanvasContainerController/set.Canvas (line 91)
Error in matlab.ui.internal.componentframework.WebControllerFactory/create (line 93)]
MathWorks::System::IUserException [Dot indexing is not supported for variables of this type.
Error in matlab.ui.control.internal.view.ComponentProxyViewFactory/createProxyView (line 80)
Error in matlab.ui.control.internal.controller.ComponentController/createProxyView (line 71)
Error in appdesservices.internal.interfaces.controller.AbstractController/populateView (line 156)
Error in matlab.ui.control.internal.controller.ComponentControllerFactory/createController (line 166)
Error in matlab.ui.control.internal.model.ComponentModel/createController (line 68)
Error in matlab.ui.internal.componentframework.WebControllerFactory/create (line 93)]
MathWorks::System::IUserException [Dot indexing is not supported for variables of this type.
Error in matlab.ui.control.internal.view.ComponentProxyViewFactory/createProxyView (line 80)
Error in matlab.ui.control.internal.controller.ComponentController/createProxyView (line 71)
Error in appdesservices.internal.interfaces.controller.AbstractController/populateView (line 156)
Error in matlab.ui.control.internal.controller.ComponentControllerFactory/createController (line 166)
Error in matlab.ui.control.internal.model.ComponentModel/createController (line 68)
Error in matlab.ui.internal.componentframework.WebControllerFactory/create (line 93)]
MathWorks::System::IUserException [Dot indexing is not supported for variables of this type.
Error in matlab.ui.control.internal.view.ComponentProxyViewFactory/createProxyView (line 80)
Error in matlab.ui.control.internal.controller.ComponentController/createProxyView (line 71)
Error in appdesservices.internal.interfaces.controller.AbstractController/populateView (line 156)
Error in matlab.ui.control.internal.controller.ComponentControllerFactory/createController (line 166)
Error in matlab.ui.control.internal.model.ComponentModel/createController (line 68)
Error in matlab.ui.internal.componentframework.WebControllerFactory/create (line 93)]
MathWorks::System::IUserException [Dot indexing is not supported for variables of this type.
Error in matlab.ui.control.internal.view.ComponentProxyViewFactory/createProxyView (line 80)
Error in matlab.ui.control.internal.controller.ComponentController/createProxyView (line 71)
Error in appdesservices.internal.interfaces.controller.AbstractController/populateView (line 156)
Error in matlab.ui.control.internal.controller.ComponentControllerFactory/createController (line 166)
Error in matlab.ui.control.internal.model.ComponentModel/createController (line 68)
Error in matlab.ui.internal.componentframework.WebControllerFactory/create (line 93)]
MathWorks::System::IUserException [Dot indexing is not supported for variables of this type.
Error in matlab.ui.control.internal.view.ComponentProxyViewFactory/createProxyView (line 80)
Error in matlab.ui.control.internal.controller.ComponentController/createProxyView (line 71)
Error in appdesservices.internal.interfaces.controller.AbstractController/populateView (line 156)
Error in matlab.ui.control.internal.controller.ComponentControllerFactory/createController (line 166)
Error in matlab.ui.control.internal.model.ComponentModel/createController (line 68)
Error in matlab.ui.internal.componentframework.WebControllerFactory/create (line 93)]
MathWorks::System::IUserException [Dot indexing is not supported for variables of this type.
Error in matlab.ui.control.internal.view.ComponentProxyViewFactory/createProxyView (line 80)
Error in matlab.ui.control.internal.controller.ComponentController/createProxyView (line 71)
Error in appdesservices.internal.interfaces.controller.AbstractController/populateView (line 156)
Error in matlab.ui.control.internal.controller.ComponentControllerFactory/createController (line 166)
Error in matlab.ui.control.internal.model.ComponentModel/createController (line 68)
Error in matlab.ui.internal.componentframework.WebControllerFactory/create (line 93)]
MathWorks::System::IUserException [Dot indexing is not supported for variables of this type.
Error in matlab.ui.control.internal.view.ComponentProxyViewFactory/createProxyView (line 80)
Error in matlab.ui.control.internal.controller.ComponentController/createProxyView (line 71)
Error in appdesservices.internal.interfaces.controller.AbstractController/populateView (line 156)
Error in matlab.ui.control.internal.controller.ComponentControllerFactory/createController (line 166)
Error in matlab.ui.control.internal.model.ComponentModel/createController (line 68)
Error in matlab.ui.internal.componentframework.WebControllerFactory/create (line 93)]
MathWorks::System::IUserException [Dot indexing is not supported for variables of this type.
Error in matlab.ui.control.internal.view.ComponentProxyViewFactory/createProxyView (line 80)
Error in matlab.ui.control.internal.controller.ComponentController/createProxyView (line 71)
Error in appdesservices.internal.interfaces.controller.AbstractController/populateView (line 156)
Error in matlab.ui.control.internal.controller.ComponentControllerFactory/createController (line 166)
Error in matlab.ui.control.internal.model.ComponentModel/createController (line 68)
Error in matlab.ui.internal.componentframework.WebControllerFactory/create (line 93)]
MathWorks::System::IUserException [Dot indexing is not supported for variables of this type.
Error in matlab.ui.control.internal.view.ComponentProxyViewFactory/createProxyView (line 80)
Error in matlab.ui.control.internal.controller.ComponentController/createProxyView (line 71)
Error in appdesservices.internal.interfaces.controller.AbstractController/populateView (line 156)
Error in matlab.ui.control.internal.controller.ComponentControllerFactory/createController (line 166)
Error in matlab.ui.control.internal.model.ComponentModel/createController (line 68)
Error in matlab.ui.internal.componentframework.WebControllerFactory/create (line 93)]
MathWorks::System::IUserException [Dot indexing is not supported for variables of this type.
Error in matlab.ui.control.internal.view.ComponentProxyViewFactory/createProxyView (line 80)
Error in matlab.ui.control.internal.controller.ComponentController/createProxyView (line 71)
Error in appdesservices.internal.interfaces.controller.AbstractController/populateView (line 156)
Error in matlab.ui.control.internal.controller.ComponentControllerFactory/createController (line 166)
Error in matlab.ui.control.internal.model.ComponentModel/createController (line 68)
Error in matlab.ui.internal.componentframework.WebControllerFactory/create (line 93)]
MathWorks::System::IUserException [Dot indexing is not supported for variables of this type.
Error in matlab.ui.control.internal.view.ComponentProxyViewFactory/createProxyView (line 80)
Error in matlab.ui.control.internal.controller.ComponentController/createProxyView (line 71)
Error in appdesservices.internal.interfaces.controller.AbstractController/populateView (line 156)
Error in matlab.ui.control.internal.controller.ComponentControllerFactory/createController (line 166)
Error in matlab.ui.control.internal.model.ComponentModel/createController (line 68)
Error in matlab.ui.internal.componentframework.WebControllerFactory/create (line 93)]

채택된 답변

Steven Brace
Steven Brace 2019년 4월 1일
I managed to solve this problem with the help of the support team.
I was trying to run the project from a network drive, once I moved the project to a local drive everything worked fine!
Cheers!

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by