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

조회 수: 9 (최근 30일)
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
Ashutosh Thakur
Ashutosh Thakur 2023년 12월 19일
HI Gaurav,
Can you provide some sample model where I can reproduce the similar issue ?
Regards
Ashutosh
Ashok Khera
Ashok Khera 2024년 5월 20일
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.

댓글을 달려면 로그인하십시오.

답변 (2개)

Satwik
Satwik 2024년 8월 30일
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 2024년 8월 30일
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 ]

카테고리

Help CenterFile Exchange에서 Outputs에 대해 자세히 알아보기

제품


릴리스

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by