Test Manager > Open Coverage Report > Error : Dot indexing is not supported for variables of this type.
Show older comments
I am running a tests using simulink test. When I try to open the aggregated coverage report from Test Manager: Results and Artifacts, I am getting an Dot indexing error.
Detailed error mentioned below:
An error occurred while stepping through the simulation and the simulation was terminated
Caused by:
Dot indexing is not supported for variables of this type.
A fatal error occurred when accessing the coverage tool: cvi.TopModelCov.modelPause
3 Comments
Gaurav
on 11 Oct 2023
Ashutosh Thakur
on 19 Dec 2023
HI Gaurav,
Can you provide some sample model where I can reproduce the similar issue ?
Regards
Ashutosh
Ashok Khera
on 20 May 2024
Yes, same happening here.
Error : Dot indexing is not supported for variables of this type
When try to open for Coverage.
After Harness closed, tried again and it works, like a charm.
Answers (2)
Satwik
on 30 Aug 2024
0 votes
Hi,
Based on the error message, here are some potential causes and suggested solutions to address the "Dot indexing is not supported for variables of this type" error when trying to open the aggregated coverage report in Simulink Test Manager:
1. Turn off Signal Range Recording:
- Navigate to 'Analysis -> Coverage Settings'.
- Uncheck the option for 'Signal Range' in the Coverage metrics.
2. Ensure Coverage for Model References:
- If your model includes Model Reference blocks, ensure that coverage is enabled for the top model.
- Go to the Coverage Settings for the top model and ensure 'Coverage for this model' is checked.
3. Disable Model Coloring in Stateflow:
- If your model uses Stateflow, turn off 'Model Coloring'.
- In the Coverage Settings dialog, go to the Results tab and uncheck 'Display coverage results using model coloring'.
4. Turn off Auto-scaling for Fixed Point and Stateflow:
- If your model includes both Fixed Point and Stateflow, disable Auto-scaling.
- Navigate to 'Analysis -> Fixed-Point Tool'.
- For each Stateflow chart, ensure that the Fixed-point instrumentation mode is set to something other than 'Minimums, maximums and overflows'.
- This can also be checked via the command line with: 'get_param(gcs, 'MinMaxOverflowLogging')'.
Ashok Khera
on 30 Aug 2024
0 votes
Yes, same happening here.
Error : Dot indexing is not supported for variables of this type
When try to open for Coverage.
After Harness closed, tried again and it works, like a charm. [ Looks like a bug, but issue seems to be open harness ]
1 Comment
ASHWIN
on 31 Mar 2026 at 7:40
I tried to close the Test Harness and tried to open the model coverage report, but the dot indexing error still sustains.Any other recommendations. I suspect the test cases are from spreadsheet and there are some boolean data types that is causing this issue?
Categories
Find more on Test Execution 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!