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 Kommentare

Nicolas B.
Nicolas B. am 29 Okt. 2019
Bearbeitet: Nicolas B. am 29 Okt. 2019
Could you provide your source code or the relevant part of it? Like that, I don't see the potential problem.
Btw, have you also tried to run an example of App to check your installation?
If it can help, some persons have already had similar problems and they have simply copied their old code into a new App Designer "project" (source).
Magnus Fransson
Magnus Fransson am 29 Okt. 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 am 29 Okt. 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));

Melden Sie sich an, um zu kommentieren.

 Akzeptierte Antwort

Edu Benet Cerda
Edu Benet Cerda am 30 Okt. 2019

0 Stimmen

Hello Magnus,
Please contact techincal support with a full description of this issue.

1 Kommentar

Magnus Fransson
Magnus Fransson am 30 Okt. 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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Package and Share Apps finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by