Community Profile

photo

Pat Canny

Last seen: 2 dagen ago Active since 2018

Statistics

All
  • Knowledgeable Level 4
  • 5-Star Galaxy Level 3
  • 6 Month Streak
  • GitHub Submissions Level 3
  • Knowledgeable Level 3
  • Personal Best Downloads Level 2
  • First Review
  • First Submission
  • Revival Level 2
  • First Answer

View badges

Content Feed

View by

Answered
Encountering an error during Fault Injection
Hi @RAGHUVEER RAJESH, I am not sure if you are the same user who asked this on Reddit recently (though that is my assumption)...

8 dagen ago | 1

Answered
Coverage in Rapid Acceleration mode
Hi @Suleyman, Unfortunately, Simulink Coverage does not currently support coverage collection using Accelerator or Rapid Acce...

7 maanden ago | 0

| accepted

Submitted


Formal Functional Equivalence
This project provides a set of utilities for performing "formal functional equivalence," which is a static analysis-based techni...

10 maanden ago | 2 downloads |

Thumbnail

Answered
How can I generate test coverage report of a simulink model using Matlab code
Hi @Mohamed, You can use the cvhtml function to generate a report. Here is a simple example from the documentation: modelNa...

12 maanden ago | 1

| accepted

Answered
How do I edit sldv_covoutput folder path?
Hi @Junhyung, You can define the full path of the Output folder in the text field itself - it will otherwise assume the root ...

12 maanden ago | 0

Answered
How I would determine if a string contains multiple substrings?
Here is one way to do this using arrayfun: myString = "This has some words in it."; subStrings = ["This","some"]; hasAllSub...

ongeveer een jaar ago | 0

| accepted

Question


How I would determine if a string contains multiple substrings?
I'd like to know if a string has multiple substrings (e.g, words) in it. For example: myString = "This has some words in it...

ongeveer een jaar ago | 4 answers | 0

4

answers

Submitted


Requirements-Based Testing Workflow Example
This example workflow shows you how to get started with systematic, requirements-based testing using Simulink.

ongeveer een jaar ago | 30 downloads |

Thumbnail

Answered
merging testcases generated from simulink design verifier
Hi @Junhyung, I recommend trying the 'LongTestCases' Test Suite Optimization option, like so: opts = sldvoptions; opts.Auto...

ongeveer een jaar ago | 0

| accepted

Answered
Simulink Design verifier does not terminate.
Hi @Mirhad, My first suggestion is to consult this item in our documentation: Prove Properties in Large Models. It looks l...

meer dan een jaar ago | 0

| accepted

Submitted


Requirements and Advanced Model Checks Getting Started
This example shows how to get started with MathWorks' Model Verification & Validation tools

meer dan een jaar ago | 3 downloads |

Thumbnail

Answered
How do I convert a set of Microsoft Word Documents into a single PDF?
One way to do to this is to leverage the docview function from MATLAB Report Generator and the mergePDFs function created by Ben...

meer dan een jaar ago | 0

| accepted

Question


How do I convert a set of Microsoft Word Documents into a single PDF?
I have a set of Microsoft Word documents which I need to combine into a single PDF. How would I accomplish this in MATLAB?

meer dan een jaar ago | 1 answer | 0

1

answer

Answered
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...

meer dan een jaar ago | 0

| accepted

Answered
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...

meer dan een jaar ago | 0

| accepted

Answered
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 ...

meer dan een jaar ago | 0

| accepted

Answered
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.

meer dan een jaar ago | 0

Answered
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...

meer dan een jaar ago | 1

Answered
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...

meer dan een jaar ago | 0

Answered
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...

meer dan een jaar ago | 1

Answered
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...

meer dan een jaar ago | 0

| accepted

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 ...

meer dan een jaar ago | 1 answer | 0

1

answer

Answered
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...

meer dan een jaar ago | 0

| accepted

Answered
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...

meer dan een jaar ago | 0

| accepted

Answered
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 ...

bijna 2 jaar ago | 0

Answered
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...

bijna 2 jaar ago | 0

| accepted

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 ...

bijna 2 jaar ago | 1 answer | 0

1

answer

Answered
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'...

bijna 2 jaar ago | 0

| accepted

Answered
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...

ongeveer 2 jaar ago | 1

Answered
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...

meer dan 2 jaar ago | 0

| accepted

Load more