Error in getting objectives of a model in simulink

1 次查看(过去 30 天)
I need to debug the enhanced mcdc coverage for a model.
When I tried to obtain the objectives of a model using the command - [objectives, tableOfObjectives] = sldvObj.getObjectivesForModelObj(modelobjSID), I got the following error ..
Unrecognized function or variable 'filteredObjectives'.
Error in Sldv.enhancedMCDC.SldvDataExplorer/getObjectivesForModelObj

采纳的回答

Pat Canny
Pat Canny 2021-7-26
编辑:Pat Canny 2021-7-27
Great question! This is a fairly advanced workflow.
I reached out to the Simulink Design Verifier Development team here at MathWorks for some guidance.
We assume you using the workflow described in this example.
The issue is that you are invoking a method in the SldvDataExplorer class with a model element that has no objectives. This has revealed an issue in our documentation, which we will rectify.
That being said, this is an interesting workflow. If you are still interested in debugging using your own models, I recommend reaching out via MathWorks Technical Support.
  2 个评论
suhasini nathan
suhasini nathan 2021-7-27
编辑:suhasini nathan 2021-7-27
Thank you for the response.
Yes, I'm referring this workflow.
But the model item which I was debugging is an AND operator. It has condition and MCDC objectives. Then why did the error occur?
Pat Canny
Pat Canny 2021-7-27
I recommend reaching out to MathWorks Technical Support. This may require a bit more information. Thanks.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Model Simplification with Dependency Analysis 的更多信息

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by