Evaluating MaskInitialization for .../Saturation Dynamic/Data Type Propagation takes a long time during simulink codegen

During C code generation of my simulink model, I have observed the following line repeatedly in the codegen logs:
Evaluating MaskInitialization for .../Saturation Dynamic/Data Type Propagation 'DblOver = 0;'
It seems that the codegen takes a long time figuring this thing out because I have seen this in the logs many times
(I could be wrong here in my conclusion).
Note that I have made sure to define the data types for the Saturation Dynamic block (basically I have NOT chosen Inherit for datatype and I have chosen a data type explicitely) because I thought maybe that will fascilitate the initialization (I could be wrong here). However it has not
changed the result and I still see the line repeating during codegen and consequently codegen takes a long time(15x longer than my other simulink models).
What is Simulink coder mean by Evaluating MaskInitialization and why do I see the exact same line many times?

Answers (0)

Categories

Find more on Simulink Coder in Help Center and File Exchange

Products

Release

R2022a

Asked:

on 2 May 2024

Community Treasure Hunt

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

Start Hunting!