Missing Refereced Models CSC Signal Data Definitions in Generated Files

I have created custom storage classes mycsc.Parameter and mycsc.Signal, both specifying the shared header file globalvar.h and definitions file globalvar.c.
During code generation:
The .h file correctly combines declarations for both Parameter and Signal objects from the top model and all referenced models.
The .c file correctly combines definitions for Parameter objects across the model hierarchy.
However, the .c file does NOT include definitions for Signal objects from referenced models (only signals from the top model are present).
How can I ensure the generated .c file includes all Signal definitions from the entire model reference hierarchy?
The model is attached for your reference.

Answers (0)

Categories

Find more on Deployment, Integration, and Supported Hardware in Help Center and File Exchange

Asked:

D Z
on 13 Apr 2026 at 10:43

Community Treasure Hunt

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

Start Hunting!