Community Profile

photo

Pat Canny

MathWorks

Last seen: 5 giorni ago Active since 2018

I'm the Product Manager for Simulink Design Verifier and Simulink Coverage.

I have an aerospace control systems background, but decided to get an MBA. I now get to live my dream: business and controls!

Statistics

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

View badges

Content Feed

View by

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

circa 2 mesi ago | 0

| accepted

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

circa 2 mesi ago | 1 answer | 0

1

answer

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

2 mesi ago | 0

| accepted

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

2 mesi ago | 0

| accepted

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

2 mesi ago | 1 answer | 0

1

answer

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

3 mesi ago | 0

| accepted

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

3 mesi ago | 1 answer | 0

1

answer

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

4 mesi ago | 0

| accepted

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

7 mesi ago | 0

| accepted

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

10 mesi ago | 0

| accepted

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

11 mesi ago | 0

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

11 mesi ago | 0

| accepted

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

11 mesi ago | 1 answer | 0

1

answer

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

circa un anno ago | 0

| accepted

Answered
How to remove top phrases from a word cloud
The removeWords function only removes specific words. It won't remove phrases like you might expect. The word clouds are sho...

circa un anno ago | 0

| accepted

Question


How to remove top phrases from a word cloud
I have created a set of word clouds, but want to remove some common two-word phrases that appear in each. I tried using removeW...

circa un anno ago | 1 answer | 0

1

answer

Answered
Cumulative coverage for different test cases
(To officially answer this) For cumulative coverage workflows, you can create a test harness for the system under test using ...

oltre un anno ago | 0

| accepted

Answered
How do I extract the contents of an HTML table on a web page into a MATLAB table?
You can extract the <table> content, which is all stored in a set of <td> tags, as a string array and go from there. You first ...

oltre un anno ago | 2

| accepted

Question


How do I extract the contents of an HTML table on a web page into a MATLAB table?
I'd like to plot and analyze the TSA traveler data from this website: https://www.tsa.gov/coronavirus/passenger-throughput The ...

oltre un anno ago | 1 answer | 0

1

answer

Answered
Design verifier :run all and produce coverage for a sldvmakeharness created model
Hi Jiahao, I recommend using sldvrun to generate tests with Design Verifier, then sldvruntest to run the tests and cvhtml to ...

oltre un anno ago | 0

| accepted

Answered
Simulink Block not executed
Hi Ajay, The coverage report should show the decision coverage achieved for that block. I assume the block you are referring ...

oltre un anno ago | 0

| accepted

Answered
Retrieve child coverage results from parent model
Hi Luis, Thanks for your question. You are correct in that the signal range coverage is not collected for model outputs. The...

oltre un anno ago | 1

Answered
How can I input expected output values for a signal to simulink design verifier and generate tests with it?
Hi Xinkun, Thank you for your question. I recommend you use a Test Objective block, which you can use to define a desired ...

oltre un anno ago | 0

Answered
Don't know why SLDV checks compatibility fail
Hi galaxy, I spoke with the SLDV Development team. This may be due to an internal error within the tool. It will require re...

circa 2 anni ago | 0

Answered
How do I extract all rows of a struct field that is a character array?
First, try to avoid using character arrays. Convert them to string arrays. Second, you need to use the {curly brace syntax} to ...

circa 2 anni ago | 1

| accepted

Question


How do I extract all rows of a struct field that is a character array?
I want to extract all rows of a field within a struct. The field is a character array. For sake of example, the struct is calle...

circa 2 anni ago | 1 answer | 1

1

answer

Answered
2019b toolbox verification
As Walter already answered, the Simulink Verification and Validation product was split into three products. The Simulink Veri...

circa 2 anni ago | 0

Question


How do I check for unresolved requirements links programmatically?
I would like to check for any "bad" requirements implementation links as part of a Continuous Integration (CI) workflow. For ex...

circa 2 anni ago | 1 answer | 0

1

answer

Answered
How do I check for unresolved requirements links programmatically?
This can be accomplished using the isResolved method within the slreq.Link class. You can also use the isResolvedSource and i...

circa 2 anni ago | 0

| accepted

Answered
How do I create a coverage filter for all Simulink blocks with a given Tag?
One way to do this is to use find_system to build a list of all Simulink blocks with a given tag. Then, you can use BlockSelect...

circa 2 anni ago | 0

| accepted

Load more