Embedded Coder - header file for storage class not generated
Show older comments
Hello,
I added following Storage class in the Embedded Code dictionary (see screenshot below) and set this class for model outputs via the Code Mappings - Component interface. When I try to build a code (see code setting screenshot below) there is an error:
Error:C: /.../ MF02_Detect_7000lux_RL_on_ert_rtw/MF02_Detect_7000lux_RL_on.c:19:10: fatal error: StorageClass1_get.h: No such file or directory
So I assume that StorageClass1_get.h is not being generated. Moreover, even when I Generate code (without building), StorageClass1_get functions (see red circrle on the screenshot below) are not generated anywhere.
So may I ask how how to update the setting to build code sucessfully and generate get functions for the model outputs?
Thank you in advance!


Accepted Answer
More Answers (0)
Categories
Find more on Simulink Coder in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!