Why Embeeded coder generate variables that declared but never used in the body of function?

Hi,
I don't understand why coder is generate declaration of variables that don't used in the body of function <modelname>_Init. The function <modelname>_Init is generated from referenced subsystem. Please see attach to find out how variables looks like. MATLAB R2015a

Answers (0)

This question is closed.

Asked:

on 14 Apr 2017

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!