Test Manager > Open Coverage Report > Error : Dot indexing is not supported for variables of this type.
Mostra commenti meno recenti
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 Commenti
Gaurav
il 11 Ott 2023
Ashutosh Thakur
il 19 Dic 2023
HI Gaurav,
Can you provide some sample model where I can reproduce the similar issue ?
Regards
Ashutosh
Ashok Khera
il 20 Mag 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.
Risposte (2)
Satwik
il 30 Ago 2024
0 voti
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
il 30 Ago 2024
0 voti
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 Commento
ASHWIN
il 31 Mar 2026 alle 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?
Categorie
Scopri di più su Test Execution in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!