MATLAB Answers

Error while running Cyclomatic complexity check

3 views (last 30 days)
megha pawar
megha pawar on 20 Oct 2020
Answered: Fangjun Jiang on 20 Oct 2020
I am trying to run Cyclomatic complexity check for Simulatble model. I am facing below mentioned issue.
Error occurred during model compile.
Index in position 4 exceeds array bounds (must not exceed 1).
I want to debug excatly which array causing this issue.
Thank you in adavance.

  0 Comments

Sign in to comment.

Answers (1)

Fangjun Jiang
Fangjun Jiang on 20 Oct 2020
Press Ctrl+D to update the mode, or better, run a simulation first to make sure your model has no errors first.

  0 Comments

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!

Translated by