Error while running Cyclomatic complexity check

4 views (last 30 days)
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.

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.

Categories

Find more on Run Model Advisor Checks in Help Center and File Exchange

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!