Problem with App designer 2019a

조회 수: 16(최근 30일)
Magnus Fransson
Magnus Fransson 2019년 10월 29일
댓글: Magnus Fransson 2019년 10월 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일
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개)

Community Treasure Hunt

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

Start Hunting!

Translated by