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]
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