Azzera filtri
Azzera filtri

Problem with App designer 2019a

8 visualizzazioni (ultimi 30 giorni)
Hi!
After installing 2019a (had 2017b earlier) the appdesigner is no longer working. Buttons and stuff are missing in my old apps and also if I try to make new ones. The inspector panel is missing and I get the error:
Error using matlab.ui.control.internal.model.mixin.MultilineTextComponent/set.Text (line 49)
'Text' must be a character vector, a 1-D cell array of character vectors, a string array or a categorical array.
Error in matlab.ui.control.Button (line 51)
obj.Text = defaultText;
Error in appdesigner.internal.componentmodel.DesignTimeComponentFactory/createComponent (line 79)
component = feval(componentType,...
Error in appdesigner.internal.componentmodel.DesignTimeComponentFactory/createModel (line 17)
component = DesignTimeComponentFactory.createComponent(componentType, parentModel, peerNode);
Error in appdesservices.internal.interfaces.controller.DesignTimeParentingController/processClientCreatedPeerNode (line 181)
child = obj.Factory.createModel(obj.getModel(),peerNode);
Error in appdesservices.internal.interfaces.controller.DesignTimeParentingController/handlePeerNodeAdded (line 262)
obj.processClientCreatedPeerNode(peerNode);
Error in appdesservices.internal.interfaces.controller.DesignTimeParentingController>@(varargin)obj.handlePeerNodeAdded(varargin{:})
(line 125)
obj.ChildAddedListener = addlistener(obj.ProxyView.PeerNode,'childAdded', @obj.handlePeerNodeAdded);
Error in hgfeval (line 62)
feval(fcn{1},varargin{:},fcn{2:end});
Error in javaaddlistener>cbBridge (line 52)
hgfeval(response, java(o), e.JavaEvent)
Error in javaaddlistener>@(o,e)cbBridge(o,e,response) (line 47)
@(o,e) cbBridge(o,e,response));
  3 Commenti
Magnus Fransson
Magnus Fransson il 29 Ott 2019
Yes, even examples or a blank app (with a button added), same problem. I'm thinking now that there is a clash with the old 2017b that I removed but kept the preferences and command history. I'll try removing all Matlab files and reinstalling.
Magnus Fransson
Magnus Fransson il 29 Ott 2019
Made a clean install of 2019a, but the appdesigner still doesn't work. When first started I got this message: "Unable to load individual component inspector cache".
Then, trying to add a button onto a new, empty app, I got the same message as before:
Error using matlab.ui.control.internal.model.mixin.MultilineTextComponent/set.Text (line
49)
'Text' must be a character vector, a 1-D cell array of character vectors, a string array or
a categorical array.
Error in matlab.ui.control.Button (line 51)
obj.Text = defaultText;
Error in appdesigner.internal.componentmodel.DesignTimeComponentFactory/createComponent
(line 79)
component = feval(componentType,...
Error in appdesigner.internal.componentmodel.DesignTimeComponentFactory/createModel (line
17)
component = DesignTimeComponentFactory.createComponent(componentType,
parentModel, peerNode);
Error in
appdesservices.internal.interfaces.controller.DesignTimeParentingController/processClientCreatedPeerNode
(line 181)
child = obj.Factory.createModel(obj.getModel(),peerNode);
Error in
appdesservices.internal.interfaces.controller.DesignTimeParentingController/handlePeerNodeAdded
(line 262)
obj.processClientCreatedPeerNode(peerNode);
Error in
appdesservices.internal.interfaces.controller.DesignTimeParentingController>@(varargin)obj.handlePeerNodeAdded(varargin{:})
(line 125)
obj.ChildAddedListener = addlistener(obj.ProxyView.PeerNode,'childAdded',
@obj.handlePeerNodeAdded);
Error in hgfeval (line 62)
feval(fcn{1},varargin{:},fcn{2:end});
Error in javaaddlistener>cbBridge (line 52)
hgfeval(response, java(o), e.JavaEvent)
Error in javaaddlistener>@(o,e)cbBridge(o,e,response) (line 47)
@(o,e) cbBridge(o,e,response));

Accedi per commentare.

Risposta accettata

Edu Benet Cerda
Edu Benet Cerda il 30 Ott 2019
Hello Magnus,
Please contact techincal support with a full description of this issue.
  1 Commento
Magnus Fransson
Magnus Fransson il 30 Ott 2019
As it turns out it was a lingering pathdef file that caused the trouble. When I deleted that (which had a 3rd party toolbox included) Matlab worked normally again, no problem with appdesigner anymore.
I suspect the 3rd party toolbox (PLS_Toolbox from Eigenvector, v 8.6.2) that I had installed for 2017b have functions that were clashing with 2019a.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Live Scripts and Functions in Help Center e File Exchange

Prodotti


Release

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by