Problem with App designer 2019a

11 次查看(过去 30 天)
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 个评论
Magnus Fransson
Magnus Fransson 2019-10-29
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 2019-10-29
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));

请先登录,再进行评论。

采纳的回答

Edu Benet Cerda
Edu Benet Cerda 2019-10-30
Hello Magnus,
Please contact techincal support with a full description of this issue.
  1 个评论
Magnus Fransson
Magnus Fransson 2019-10-30
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.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Live Scripts and Functions 的更多信息

产品


版本

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by