MATLAB Answers

How to find unused parts of a simulink model?

4 views (last 30 days)
ES
ES on 30 Sep 2019
Answered: Fangjun Jiang on 30 Sep 2019
Hello all,
I have a huge simulink model (R2016B). some parts of the model are not used anywhere (as in, the inputs are grounded or not enabled. The outputs are terminated and so on).
Is there any approach to identify these parts automatcally? (Example: Identify which parts are never executed - like dead code)

  0 Comments

Sign in to comment.

Answers (1)

Fangjun Jiang
Fangjun Jiang on 30 Sep 2019
Simulink Coverage might be able to help.

  0 Comments

Sign in to comment.

Sign in to answer this question.