Bug: Entering Test Assesment block of Referenced Subsystem from Test Harness results in error
3 ビュー (過去 30 日間)
古いコメントを表示
Hello,
I met very specific error when opening Test Assesment block in the Referenced Subsystem via the Harness of this subsystem, so path is Harness->RefSubsystem->Test Assesment. The problem is preventing debugging of Test Assessments put in the subsystem.
Test Assessment window opens but is empty except locked top bar. Here is the Error message that appears in Command Window:
Error using Simulink.harness.internal.sidmap.getHarnessObjectSID
block_diagram does not have a parameter named 'LinkStatus'
Error in Simulink.harness.internal.sidmap.getHarnessObjectSID
Error in rmisl.harnessToModelRemap
Error in rmisf.reqMenuState
Error in Stateflow.STT.Views.ReactiveViewManager/getStateReqs (line 2278)
if strcmp(rmisf.reqMenuState(callbackInfo, stateUddH.Id), 'Enabled')
Error in Stateflow.STT.Views.ReactiveViewManager/chartDataHelper/minimizeStates (line 2071)
state.requirements = self.getStateReqs(stateCell.stateUddH);
Error in Stateflow.STT.Views.ReactiveViewManager/chartDataHelper (line 2120)
states = minimizeStates(states);
Error in Stateflow.STT.Views.ReactiveViewManager/uiChartDataHelper (line 2150)
[states, contents] = self.chartDataHelper(@decorator2, varargin{:});
Error in Stateflow.STT.Views.ReactiveViewManager/jsChartData (line 648)
[data.states, contents] = self.uiChartDataHelper();
Error in sltest.testsequence.internal.view.JSServiceMixin/dispatchRequest
Error in Stateflow.STT.Views.ReactiveViewManager/dispatchRequest (line 209)
self.dispatchRequest@sltest.testsequence.internal.view.JSServiceMixin(request);
Error in sltest.testsequence.internal.view.JSServiceMixin>@(varargin)self.dispatchRequest(varargin{:})
Error in sltest.testsequence.internal.view.JSServiceMixin
Error in sltest.testsequence.internal.view.JSServiceMixin>@(msg)handleCallbackErrror(@self.dispatchRequest,msg)
Error in message.internal.MessageService/doExecuteCallback
Error in message.internal.MessageService.executeCallback
Error in message.internal.executeCallback - Show complete stack traceError using Simulink.harness.internal.sidmap.getHarnessObjectSID
block_diagram does not have a parameter named 'LinkStatus'
Error in Simulink.harness.internal.sidmap.getHarnessObjectSID
Error in rmisl.harnessToModelRemap
Error in rmisf.reqMenuState
Error in Stateflow.STT.Views.ReactiveViewManager/getStateReqs (line 2278)
if strcmp(rmisf.reqMenuState(callbackInfo, stateUddH.Id), 'Enabled')
Error in Stateflow.STT.Views.ReactiveViewManager/chartDataHelper/minimizeStates (line 2071)
state.requirements = self.getStateReqs(stateCell.stateUddH);
Error in Stateflow.STT.Views.ReactiveViewManager/chartDataHelper (line 2120)
states = minimizeStates(states);
Error in Stateflow.STT.Views.ReactiveViewManager/uiChartDataHelper (line 2150)
[states, contents] = self.chartDataHelper(@decorator2, varargin{:});
Error in Stateflow.STT.Views.ReactiveViewManager/jsChartData (line 648)
[data.states, contents] = self.uiChartDataHelper();
Error in sltest.testsequence.internal.view.JSServiceMixin/dispatchRequest
Error in Stateflow.STT.Views.ReactiveViewManager/dispatchRequest (line 209)
self.dispatchRequest@sltest.testsequence.internal.view.JSServiceMixin(request);
Error in sltest.testsequence.internal.view.JSServiceMixin>@(varargin)self.dispatchRequest(varargin{:})
Error in sltest.testsequence.internal.view.JSServiceMixin
Error in sltest.testsequence.internal.view.JSServiceMixin>@(msg)handleCallbackErrror(@self.dispatchRequest,msg)
Error in message.internal.MessageService/doExecuteCallback
Error in message.internal.MessageService.executeCallback
Error in message.internal.executeCallback - Show complete stack trace
Displaying stack trace:
Error using Simulink.harness.internal.sidmap.getHarnessObjectSID
• In Simulink.harness.internal.sidmap.getHarnessObjectSID
• In Simulink.harness.internal.sidmap.getHarnessObjectSID
• In rmisl.harnessToModelRemap
• In rmisf.reqMenuState
• In Stateflow.STT.Views.ReactiveViewManager>ReactiveViewManager.getStateReqs (line 2278)
• In Stateflow.STT.Views.ReactiveViewManager>ReactiveViewManager.chartDataHelper/minimizeStates (line 2071)
• In Stateflow.STT.Views.ReactiveViewManager>ReactiveViewManager.chartDataHelper (line 2120)
• In Stateflow.STT.Views.ReactiveViewManager>ReactiveViewManager.uiChartDataHelper (line 2150)
• In Stateflow.STT.Views.ReactiveViewManager>ReactiveViewManager.jsChartData (line 648)
• In sltest.testsequence.internal.view.JSServiceMixin>JSServiceMixin.dispatchRequest
• In Stateflow.STT.Views.ReactiveViewManager>ReactiveViewManager.dispatchRequest (line 209)
• In sltest.testsequence.internal.view.JSServiceMixin>@(varargin)self.dispatchRequest(varargin{:})
• In sltest.testsequence.internal.view.JSServiceMixin
• In sltest.testsequence.internal.view.JSServiceMixin>@(msg)handleCallbackErrror(@self.dispatchRequest,msg)
• In message.internal.MessageService>MessageService.doExecuteCallback
• In message.internal.MessageService>MessageService.executeCallback
• In message.internal.executeCallback
1 件のコメント
Jacob Kriegel
2022 年 2 月 23 日
I ran into the same problem! (Test Assessment window opens but is empty except locked top bar)
It's preventing me to continue work on my thesis. Please help!
My error message:
Error using Stateflow.STT.Views.ReactiveViewManager/uiChartDataHelper/decorator2 (line 2155)
state label must begin with state name
Error in Stateflow.STT.Views.ReactiveViewManager/chartDataHelper/minimizeStates (line 2091)
state = decorator(state, stateLinearIndex); % after processing children, so that decoration can be based on children
Error in Stateflow.STT.Views.ReactiveViewManager/chartDataHelper/minimizeStates (line 2089)
state.children = minimizeStates(s.children);
Error in Stateflow.STT.Views.ReactiveViewManager/chartDataHelper/minimizeStates (line 2089)
state.children = minimizeStates(s.children);
Error in Stateflow.STT.Views.ReactiveViewManager/chartDataHelper (line 2132)
states = minimizeStates(states);
Error in Stateflow.STT.Views.ReactiveViewManager/uiChartDataHelper (line 2162)
[states, contents] = self.chartDataHelper(@decorator2, varargin{:});
Error in Stateflow.STT.Views.ReactiveViewManager/jsChartData (line 652)
[data.states, contents] = self.uiChartDataHelper();
Error in sltest.testsequence.internal.view.JSServiceMixin/dispatchRequest
Error in Stateflow.STT.Views.ReactiveViewManager/dispatchRequest (line 211)
self.dispatchRequest@sltest.testsequence.internal.view.JSServiceMixin(request);
Error in sltest.testsequence.internal.view.JSServiceMixin>@(varargin)self.dispatchRequest(varargin{:})
Error in sltest.testsequence.internal.view.JSServiceMixin
Error in sltest.testsequence.internal.view.JSServiceMixin>@(msg)handleCallbackErrror(@self.dispatchRequest,msg)
Error in message.internal.executeCallbackError using Stateflow.STT.Views.ReactiveViewManager/uiChartDataHelper/decorator2 (line 2155)
state label must begin with state name
Error in Stateflow.STT.Views.ReactiveViewManager/chartDataHelper/minimizeStates (line 2091)
state = decorator(state, stateLinearIndex); % after processing children, so that decoration can be based on children
Error in Stateflow.STT.Views.ReactiveViewManager/chartDataHelper/minimizeStates (line 2089)
state.children = minimizeStates(s.children);
Error in Stateflow.STT.Views.ReactiveViewManager/chartDataHelper/minimizeStates (line 2089)
state.children = minimizeStates(s.children);
Error in Stateflow.STT.Views.ReactiveViewManager/chartDataHelper (line 2132)
states = minimizeStates(states);
Error in Stateflow.STT.Views.ReactiveViewManager/uiChartDataHelper (line 2162)
[states, contents] = self.chartDataHelper(@decorator2, varargin{:});
Error in Stateflow.STT.Views.ReactiveViewManager/jsChartData (line 652)
[data.states, contents] = self.uiChartDataHelper();
Error in sltest.testsequence.internal.view.JSServiceMixin/dispatchRequest
Error in Stateflow.STT.Views.ReactiveViewManager/dispatchRequest (line 211)
self.dispatchRequest@sltest.testsequence.internal.view.JSServiceMixin(request);
Error in sltest.testsequence.internal.view.JSServiceMixin>@(varargin)self.dispatchRequest(varargin{:})
Error in sltest.testsequence.internal.view.JSServiceMixin
Error in sltest.testsequence.internal.view.JSServiceMixin>@(msg)handleCallbackErrror(@self.dispatchRequest,msg)
Error in message.internal.executeCallback
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Subsystems についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!