How to find unused parts of a simulink model?

3 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)

Answers (1)

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

Categories

Find more on Simulink in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!