Unable to obtain dropdown menu in Control System Toolbox
3 次查看(过去 30 天)
显示 更早的评论
Hi,
when in Control System Designer (opened via sisotool(sys) command on the command window), I try to add a new plot for a step forcing function (New Plot->New Step); after a new window (called "New Step") pops up, I choose from the dropdown menu "New input-output transfer response". This should give back some other dropdown menus but they do not appear to me: as soon as I select the option, error lines are displayed in the command window. I have attached them below.
I have tried to:
-reinstall Control System Toolbox add-on
-reinstall MATLAB (I have also tried downgrading from the 2022a version to the 2021b)
-remove all add-ons except for the Control System Toolbox one
Unfortunately neither options seem to work for me: therefore I'm asking help here.
Thank you in advance for your time ;)
Warning: Error occurred while executing the listener callback for event
ValueChanged defined for class matlab.ui.control.DropDown:
Error using toolpack.component.Icon (line 62)
Invalid default value for property 'HighlightIcon' in class
'ctrlguis.csdesignerapp.panels.internal.SignalListPanel':
The file C:\Program
Files\MATLAB\R2021b\toolbox\slcontrol\slctrlutil\resources\lintool\HighlightBlock_16.png
cannot be located.
Error in ctrlguis.csdesignerapp.panels.internal.IOTransferTC (line 25)
this.InputListPanel =
ctrlguis.csdesignerapp.panels.internal.SignalListPanel(Data,'Input','Input',this.Data.InputSignalLabel);
Error in ctrlguis.csdesignerapp.panels.internal.ResponseInputOutputTransferTC
(line 35)
this.IOTransferTC =
ctrlguis.csdesignerapp.panels.internal.IOTransferTC(this.CDD,this);
Error in
ctrlguis.csdesignerapp.dialogs.internal.SelectResponseToPlot/createIOTransferResponsePanel
(line 101)
this.ResponseDialogTC =
ResponseInputOutputTransferTC(this.ControlDesignData);
Error in
ctrlguis.csdesignerapp.dialogs.internal.SelectResponseToPlot/cbSwapResponsePanel
(line 462)
this.Widgets.IOTransferPanel =
createIOTransferResponsePanel(this);
Error in
ctrlguis.csdesignerapp.dialogs.internal.SelectResponseToPlot>@(es,ed)cbSwapResponsePanel(this)
(line 318)
'ValueChanged', @(es,
ed)cbSwapResponsePanel(this)),...
Error in
matlab.ui.control.internal.controller.ComponentController/executeUserCallback
(line 470)
notify(obj.Model, matlabEventName, matlabEventData);
Error in
matlab.ui.control.internal.controller.ComponentController/handleUserInteraction
(line 381)
obj.executeUserCallback(callbackInfo{:});
Error in matlab.ui.control.internal.controller.DropDownController/handleEvent
(line 55)
obj.handleUserInteraction('StateChanged', {'ValueChanged',
eventData, 'PrivateSelectedIndex', newSelectedIndex});
Error in
appdesservices.internal.interfaces.controller.AbstractController/handleProxyViewEvent
(line 279)
handleEvent(obj, src, event);
Error in
appdesservices.internal.interfaces.controller.AbstractController>@(src,event)handleProxyViewEvent(obj,src,event)
(line 207)
@(src,event) handleProxyViewEvent(obj, src, event));
Error in appdesservices.internal.interfaces.view.AbstractProxyView/notify
(line 117)
obj.notify@handle(varargin{:});
Error in
appdesservices.internal.peermodel.PeerNodeProxyView/handlePeerEventFromClient
(line 268)
notify(obj, 'GuiEvent', eventData);
Error in
appdesservices.internal.peermodel.PeerNodeProxyView>@(varargin)obj.handlePeerEventFromClient(varargin{:})
(line 81)
obj.PeerEventListener = addlistener(obj.PeerNode, 'peerEvent',
@obj.handlePeerEventFromClient);
Error in
viewmodel.internal.factory.ManagerFactoryProducer>@(src,event)callback(src,viewmodel.internal.factory.ManagerFactoryProducer.convertStructToEventData(event))
(line 105)
proxyCallback = @(src, event)callback(src, ...
0 个评论
回答(1 个)
Balavignesh
2024-1-11
Hello Aniello,
It seems you're experiencing some trouble with the Control System Designer application. I've tried to replicate the problem on my side but haven't encountered the same issue.
I recommend updating MATLAB to the most recent version to see if that resolves the problem. Alternatively, you can open the Control System Designer by using the command `controlSystemDesigner` instead of `sisotool(sys)`. When I select the 'New input-output transfer' option, I am able to access the additional features.
If the problem continues, I suggest reaching out to the MathWorks Technical Support team for assistance. They are well-equipped to provide the necessary support.
You can contact them here: https://www.mathworks.com/support/contact_us.html
Thanks and regards,
Balavignesh
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Control System Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!