Test Manager > Open Coverage Report > Error : Dot indexing is not supported for variables of this type.

9 visualizaciones (últimos 30 días)
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 comentarios
Ashutosh Thakur
Ashutosh Thakur el 19 de Dic. de 2023
HI Gaurav,
Can you provide some sample model where I can reproduce the similar issue ?
Regards
Ashutosh
Ashok Khera
Ashok Khera el 20 de Mayo de 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.

Iniciar sesión para comentar.

Respuestas (2)

Satwik
Satwik el 30 de Ag. de 2024
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
Ashok Khera el 30 de Ag. de 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. [ Looks like a bug, but issue seems to be open harness ]

Productos


Versión

R2023a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by