MATLAB Answers

Error in getting objectives of a model in simulink

1 view (last 30 days)
suhasini nathan
suhasini nathan on 26 Jul 2021
Commented: Pat Canny on 27 Jul 2021
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

Accepted Answer

Pat Canny
Pat Canny on 26 Jul 2021
Edited: Pat Canny on 27 Jul 2021
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 Comments
Pat Canny
Pat Canny on 27 Jul 2021
I recommend reaching out to MathWorks Technical Support. This may require a bit more information. Thanks.

Sign in to comment.

More Answers (0)

Categories

Community Treasure Hunt

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

Start Hunting!

Translated by