Effacer les filtres
Effacer les filtres

Compiling .MLAPP created in application developer

4 vues (au cours des 30 derniers jours)
Steven Brace
Steven Brace le 20 Mar 2019
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)]

Réponse acceptée

Steven Brace
Steven Brace le 1 Avr 2019
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!

Plus de réponses (0)

Catégories

En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange

Produits


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by