simulink生成代码后提示告警

simulink在生成代码后会提示告警

Model 'Elock_Ctrl' has a C mapping but has no Embedded Coder Dictionary.
建议的操作:
• Create an Embedded Coder Dictionary in model 'Elock_Ctrl' - 修复

点击修复后会提示
ans =

Dictionary with Sections:

                StorageClasses: [1×1 coder.dictionary.Section]
                MemorySections: [1×1 coder.dictionary.Section]
FunctionCustomizationTemplates: [1×1 coder.dictionary.Section]
请问这种情况应该如何解决,不会在代码生成后不会告警
我现在使用脚本文件进行数据管理,没有使用数据字典和.mat文件

Model 'Elock_Ctrl' has a C mapping but has no Embedded Coder Dictionary.
模型“Elock_Ctrl”具有C映射,但没有嵌入式编码器字典。
你这提示主要是没有嵌入式编码器字典has no Embedded Coder Dictionary,所以重点要看下Embedded Coder 配置
提供实例参考Simulink代码生成: Embedded Coder配置,链接:https://blog.csdn.net/u013288925/article/details/104851546