Réponse apportée
Open coverage results explorer programmatically
Hi @Shijil, There is an undocumented means of using the cvresults function. You can pass the 'explore' option to the function...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
Check if Coverage is ON/OFF
Hi @Shijil, You can use the get_param function to query the value of the 'CovEnable' parameter. This is a character array tha...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
MATLAB 2022a, Automatic model Coverage with model coloring and cumulative report generation is not happening.
Hi @Shijil, Those parameters in the coverage settings UI were deprecated some time ago to bring Simulink Coverage simulation ...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
Please I want help. This code is working and there is no error, and suddenly when the program is running, this message appears
I recommend contacting MathWorks Technical Support. This question requires more information.

plus de 3 ans il y a | 0

Réponse apportée
How to use Test Sequence as a function call for a test harness
Hi @ambre allard, My colleague @Rong Mi has a great suggestion: Similar as Chart, Test Sequence also supports “send” to sc...

plus de 3 ans il y a | 1

Réponse apportée
Using .mat file as input to the test harness.
You can use a MAT file as a test case input using Test Manager. A test harness can be used as the "System Under Test" within a t...

plus de 3 ans il y a | 0

Réponse apportée
Is it possible to set the animation speed of the test sequence editor via command line?
There is no specific function to change the Test Sequence animation speed, but you can use set_param with the Test Sequence bloc...

plus de 3 ans il y a | 1

Réponse apportée
Add Tags to Test Case Description
This can be done using a few functions: testfile = sltest.testmanager.TestFile("test_file.mldatx"); % create new test file tes...

plus de 3 ans il y a | 0

| A accepté

Question


Add Tags to Test Case Description
I would like to use tags (e.g., "#equivalencetests") in my test case descriptions to help me find test cases more easily in the ...

plus de 3 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
Is there is a way to convert Signal from Signal Builder Block to Test Sequence code?
Assuming you need to use a Signal Builder instead of a Signal Editor (Signal Editor is the recommended approach; look here for a...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
function-Call Coverage and Function Coverage matlab simulink SIL
Just recording the answer here for posterity, as @Binh Huynh Thanh was able to find a solution. Please refer to this Answer for...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
Is there a Matlab command to change the custom attributes for requirements like status from the default Unset, so that I don't always have to do this manually via the editor?
Hi @Katharina Fast, Thank you for your question! You can use the unlock method to start, along with setAttribute. % Load ...

plus de 3 ans il y a | 0

Réponse apportée
How do I open the Requirements Editor in Requirements Toolbox directly to a specific requirement?
You can use the navigate method in the RMI API to do this. Here is the syntax: rmi.navigate('linktype_rmi_slreq',Requirement...

presque 4 ans il y a | 0

| A accepté

Question


How do I open the Requirements Editor in Requirements Toolbox directly to a specific requirement?
I want to open the Requirements Editor directly to a specific requirement in a requirement set. Is there a command I could use ...

presque 4 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
how can i include a header file in slcovmex
Hi, Try providing the -I<path> to each individual command, like so: slcovmex({'-c','timestwo.c', ipath},{'-c','task_demo.c'...

presque 4 ans il y a | 0

| A accepté

Réponse apportée
Set design verifiers parameters programmatically
Hi Aditi, You should not use set_param to define the MaxProcess Time. The model itself has no parameter for this. You should...

presque 4 ans il y a | 1

Réponse apportée
How do I check to see if any file in a directory is locked?
There is a function in the MATLAB Report Generator utilities called "isFileLocked". Here is one way to use that function to che...

plus de 4 ans il y a | 0

| A accepté

Question


How do I check to see if any file in a directory is locked?
I consume a nightly automated query which generates over 100 files and places them in a given directory. If any of the files in...

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
Error in getting objectives of a model in simulink
Great question! This is a fairly advanced workflow. I reached out to the Simulink Design Verifier Development team here at Math...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
Is there a way to add coverage results using external tests to the coverage obtained with tests in Simulink Test?
You can work with coverage results collected using Simulink Test and results from another testing tool (which uses Simulink Cove...

plus de 4 ans il y a | 0

| A accepté

Question


Is there a way to add coverage results using external tests to the coverage obtained with tests in Simulink Test?
Is there a way to add coverage results using external tests to the coverage obtained with tests in Simulink Test? Or would these...

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
How do I measure coverage of a block reset feature?
One approach is to add a Test Objective with just a “true” condition going into the reset input. Simulink Coverage measures cove...

plus de 4 ans il y a | 0

| A accepté

Question


How do I measure coverage of a block reset feature?
I am using a Resettable Delay block in my design, and want to measure coverage on the reset feature (i.e., I want to know when t...

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
How can I get the error message from sldvrun when programmatically using Simulink Design Verifier?
Hi Monika, Apologies for the delay. You can use the ERRMSGS return field with sldvcompat: [STATUS, ERRMSGS] = sldvcompat(...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
Why do I get dead-logic on transitions which can be excited through some test scenarios?
Hi Ilkay, Great question. We have seen similar cases to this. Here is what is happening: In each case, we have (taking ...

presque 5 ans il y a | 0

| A accepté

Réponse apportée
How to collect cumulative coverage for model and it's subsystem?
We added a feature in R2019b to enable "aggregated" coverage for a model and its subsystems. Does this help? https://www.mathwor...

environ 5 ans il y a | 0

| A accepté

Réponse apportée
Design Verifier: Does multiple dimensions input has great influence in test generation?
Hi Jiahao, This will likely be difficult to solve via MATLAB Answers. If you are able to share a bit more detail, could you ...

environ 5 ans il y a | 0

Réponse apportée
How do I collect coverage for a MATLAB System block in Simulink?
MATLAB System objects can receive Decision, Condition, and MCDC when they are configured to simulate using Code Generation. In ...

environ 5 ans il y a | 0

| A accepté

Question


How do I collect coverage for a MATLAB System block in Simulink?
I was running the Generate Code for Lane Marker Detector example , which has a MATLAB System block in it, and was only able to c...

environ 5 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
how does the simulink design verifier creates test case
Hi Ajay, There is an option to "extend" existing test cases with Simulink Design Verifier: https://www.mathworks.com/help/sld...

plus de 5 ans il y a | 0

| A accepté

Charger plus