Stateflow Stepping Problem - fatal error when accessing cvi.TopMod​elCov.mode​lPause

13 ビュー (過去 30 日間)
Marco
Marco 2014 年 1 月 3 日
編集済み: Ashraf S 2022 年 6 月 26 日
Hello everyone, I'm trying to simulate a stateflow model step-by-step but i can't. If i simulate it normally, clicking the green-play button, i can do it...but stepping the model it seems to be impossible. I'm not allowed to pause the model in a given moment too.
I got the following errors:
- Attempt to reference field of non-structure array. Caused by: A fatal error occurred when accessing the coverage tool: cvi.TopModelCov.modelPause - An error occurred while stepping through the simulation and the simulation was terminated
Is there anyone who can help me? Thanks in advance and happy new year! Marco
  3 件のコメント
sajid hussain
sajid hussain 2018 年 1 月 25 日
A fatal error occurred when accessing the coverage tool: cvi.TopModelCov.modelT any solution
Suraj Nale
Suraj Nale 2022 年 4 月 8 日
Hello,
Try this one,
1) Goto home window of matlab
2) Set path
3) Set folder path of your model.
4) Save.
5) Again do the basic settings for coverage
6) Simulate Your Model.

サインインしてコメントする。

回答 (4 件)

Ki-Wook Shin
Ki-Wook Shin 2017 年 5 月 22 日
Hello, When I am running S-Function for code coverage, I am getting following issue
the start offset must be less than the end offset
Caused by:
A fatal error occurred when accessing the coverage tool: cvi.TopModelCov.modelTerm
Any solution for it?

Suraj Singh
Suraj Singh 2019 年 4 月 24 日
Hello Team,
I am also facing the same issue during the model simulation i am getting the following error:
metricdata.isa : class -- readonly
Error in parameter number 3.
metricdata.isa : class -- readonly
Error in parameter number 3.
An error occurred while running the simulation and the simulation was terminated
Caused by:
**** Error ****
A fatal error occurred when accessing the coverage tool: cvi.TopModelCov.modelPause
Component:Simulink | Category:Model error
**** Error ****
Component:Simulink | Category:Model error
Could some onepleae reply to this?
Thanks,
Suraj

Arun Kumar Misra
Arun Kumar Misra 2019 年 12 月 10 日
A fatal error occurred when accessing the coverage tool: cvi.TopModelCov.modelTerm, Any solution?
  1 件のコメント
Ashraf S
Ashraf S 2022 年 6 月 26 日
編集済み: Ashraf S 2022 年 6 月 26 日
Hi Misra, did you got the solution?
I am also getting this error, help me if you know solution.

サインインしてコメントする。


Suraj Nale
Suraj Nale 2022 年 4 月 8 日
Hello,
Try this one,
1) Goto home window of matlab
2) Set path
3) Set folder path of your model.
4) Save.
5) Again do the basic settings for coverage
6) Simulate Your Model.

カテゴリ

Help Center および File ExchangeInputs についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by