How to collect cyclomatic complexity of linked block?
1 view (last 30 days)
Show older comments
Dmytro Sokol on 22 Feb 2021
Answered: Monika Jaskolka on 28 Feb 2021
I need to get the Aggregated Complexity of the system. But the results exclude linked block which are used in the system. How to collect the cyclomatic complexity of linked blocks? (Is it even possible?)
I have tried to implement the following idea: unlink these blocks with the help of command below in order to collect the results and after that link it:
Unfortunately I get the error:
<name_of_library_block> block (mask) does not have a parameter named 'Lock'.
Monika Jaskolka on 28 Feb 2021
To break links to libraries, you need to change the 'LinkStatus' parameter. For example:
set_param('linked_block_name', 'LinkStatus', 'none')
More Answers (0)
Find more on Additional Math and Discrete in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!