Compiling .MLAPP created in application developer

4 次查看(过去 30 天)
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