To many internal error message after any execution.

조회 수: 7 (최근 30일)
Divyanshu Divyanshu
Divyanshu Divyanshu 2021년 7월 1일
답변: Samay Sagar 2024년 8월 28일
a=1;
Warning: Error occurred while executing the listener callback for event SelectionChanged defined for class internal.matlab.desktop_workspacebrowser.RemoteWorkspaceViewModel:
Error using height
Too many input arguments.
Error in internal.matlab.variableeditor.Actions.struct.EditActionBase/UpdateActionState (line 28)
isEnabled = height(sRows) == 1 && (sRows(2)-sRows(1)+1 == 1);
Error in internal.matlab.variableeditor.VEAction>@(es,ed)this.UpdateActionState() (line 65)
'SelectionChanged', @(es, ed) this.UpdateActionState());
Error in internal.matlab.variableeditor.SelectionModel/fireSelectionChanged (line 17)
this.notify('SelectionChanged',eventdata);
Error in internal.matlab.variableeditor.BlockSelectionModel/setSelection (line 35)
this.fireSelectionChanged();
Error in internal.matlab.variableeditor.peer.RemoteArrayViewModel/setSelection (line 91)
varargout{1} = this.setSelection@internal.matlab.variableeditor.ArrayViewModel(...
Error in internal.matlab.variableeditor.peer.RemoteStructureViewModel/setSelection (line 271)
varargout{1} = this.setSelection@internal.matlab.variableeditor.peer.RemoteArrayViewModel(varargin{:});
Error in internal.matlab.variableeditor.peer.RemoteStructureViewModel/handleSortAscending (line 132)
this.setSelection(this.SelectedRowIntervals, this.SelectedColumnIntervals);
Error in internal.matlab.variableeditor.StructureViewModel/handleDataChangedOnDataModel (line 395)
this.handleSortAscending();
Error in internal.matlab.variableeditor.peer.RemoteStructureViewModel/handleDataChangedOnDataModel (line 76)
this.handleDataChangedOnDataModel@internal.matlab.variableeditor.StructureViewModel(es, ed);
Error in internal.matlab.variableeditor.ViewModel>@(e,d)this.handleDataChangedOnDataModel(e,d) (line 39)
this.DataChangeListeners = event.listener(dataModel,'DataChange',@(e,d) this.handleDataChangedOnDataModel(e,d));
Error in internal.matlab.desktop_workspacebrowser.MLWorkspaceDataModel/updateData (line 234)
this.notify('DataChange',eventdata);
Error in internal.matlab.variableeditor.MLArrayDataModel/variableChanged (line 208)
data = this.updateData(varargin{:});
Error in internal.matlab.desktop_workspacebrowser.MLWorkspaceDataModel/workspaceUpdated (line 85)
this.variableChanged(data, varSize, varClass);
Error in internal.matlab.datatoolsservices.WorkspaceListener.executeWorkspaceListeners (line 274)
evalin('debug', cmd);
Error in internal.matlab.datatoolsservices.WorkspaceListener.workspaceUpdatedCorrectContext (line 172)
internal.matlab.datatoolsservices.WorkspaceListener.executeWorkspaceListeners(varList, eventType);
Error in
internal.matlab.datatoolsservices.WorkspaceListener>@(evt)internal.matlab.datatoolsservices.WorkspaceListener.workspaceUpdatedCorrectContext(evt,true,internal.matlab.datatoolsservices.WorkspaceEventType.VARIABLE_CHANGED)
(line 80)
@(evt) internal.matlab.datatoolsservices.WorkspaceListener.workspaceUpdatedCorrectContext(evt, true, ...
Error in matlab.internal.mvm.eventmgr.MVMEvent/invokeListener
Error in matlab.internal.mvm.eventmgr.MVMEvent>@(eventTags,details)matlab.internal.mvm.eventmgr.MVMEvent.invokeListener(listener,eventTags,details)
> In internal.matlab.variableeditor/SelectionModel/fireSelectionChanged (line 17)
In internal.matlab.variableeditor/BlockSelectionModel/setSelection (line 35)
In internal.matlab.variableeditor.peer/RemoteArrayViewModel/setSelection (line 91)
In internal.matlab.variableeditor.peer/RemoteStructureViewModel/setSelection (line 271)
In internal.matlab.variableeditor.peer/RemoteStructureViewModel/handleSortAscending (line 132)
In internal.matlab.variableeditor/StructureViewModel/handleDataChangedOnDataModel (line 395)
In internal.matlab.variableeditor.peer/RemoteStructureViewModel/handleDataChangedOnDataModel (line 76)
In internal.matlab.variableeditor.ViewModel>@(e,d)this.handleDataChangedOnDataModel(e,d) (line 39)
In internal.matlab.desktop_workspacebrowser/MLWorkspaceDataModel/updateData (line 234)
In internal.matlab.variableeditor/MLArrayDataModel/variableChanged (line 208)
In internal.matlab.desktop_workspacebrowser/MLWorkspaceDataModel/workspaceUpdated (line 85)
In internal.matlab.datatoolsservices/WorkspaceListener/executeWorkspaceListeners (line 274)
In internal.matlab.datatoolsservices/WorkspaceListener/workspaceUpdatedCorrectContext (line 172)
In internal.matlab.datatoolsservices.WorkspaceListener>@(evt)internal.matlab.datatoolsservices.WorkspaceListener.workspaceUpdatedCorrectContext(evt,true,internal.matlab.datatoolsservices.WorkspaceEventType.VARIABLE_CHANGED) (line 80)
In matlab.internal.mvm.eventmgr/MVMEvent/invokeListener
In matlab.internal.mvm.eventmgr.MVMEvent>@(eventTags,details)matlab.internal.mvm.eventmgr.MVMEvent.invokeListener(listener,eventTags,details)

답변 (1개)

Samay Sagar
Samay Sagar 2024년 8월 28일
Hi Divyanshu,
The errors you are encountering are related to MATLAB's internal variable editor and workspace browser. It is possible that you have implemented a custom “height” function which is interfering with MATLAB’s built in “height” function.
Here are some other steps you can try to resolve this issue:
  1. Restart MATLAB: Restarting MATLAB can resolve transient issues related to the graphical interface or internal state.
  2. Clear Workspace and Reset: Clear your workspace and reset your environment to ensure there are no corrupted variables or states causing the issue.
  3. Check for Custom Functions: Ensure that there are no custom functions or scripts named “height” or other MATLAB built-in function names in your current directory or MATLAB path that could be interfering.
Hope this helps!

카테고리

Help CenterFile Exchange에서 Application Deployment에 대해 자세히 알아보기

제품


릴리스

R2006a

Community Treasure Hunt

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

Start Hunting!

Translated by