I am using the coverage toolbox, MATLAB 2018a, these are my settings to get the coverage from a model:
load_system( 'my_model' );
set_param( 'my_model', ...
'CovEnable' , 'on', ...
'CovMetricSettings', 'dcmetr', ...
'RecordCoverage' , 'on' );
I am turning on signal range and table coverage results.
I run and I get the coverage, then when I try to see the signal ranges I use this:
[minVal, maxVal] = sigrangeinfo(cumCovData, 'my_model/subsystem', 1 )
And I can see the max-min values for a specific subsystem, my problem is that I can only see the max-min values for the subsystems at the very bottom level of the model. Now, if I want to see this max-min values in the parent model, e.g.:
[minVal, maxVal] = sigrangeinfo(cumCovData, 'my_model', 1 )
I get this:
So, it looks like MATLAB/SIMULINK cannot assign the low level range outputs to the parent model.
So my question is:
Can I assign max-min ranges from coverage data to the parent model? What's the setting for this operation?