Model Error Code generation file does not exist
3 次查看(过去 30 天)
显示 更早的评论
Hi guys,
I am new here for generating the code for microcontrollers from Embedded coder. I have a simple model, an ADC with output just to check /verify code generation process. But I am facing the problem mentioned below. I have not attached the target yet, is it because of that?. Any lead will be helpful.
Top model targets built: Model Action Rebuild Reason ==================================================================== embedded Failed Code generation information file does not exist. 0 of 1 models built (0 models already up to date) Build duration: 0h 0m 3.806s
Error during code generation: Unrecognized field name "ADC1". Error in getPeripheralParamValue (line 9) param_value = codertarget_data.(periph_name).(config_param_name); Error in tlc_c Error in coder.internal.ModelBuilder>i_buildProcedure (line 807) buildResult = tlc_c(hCodegenMgr,... Error in coder.internal.ModelBuilder.make_rtw (line 132) [buildResult, mainObjFolder] = i_buildProcedure... Error in build_target Error in build_target Error in build_standalone_rtw_target Error in slbuild_private Error in slbuild_private Error in sl Error in slbuild Error in slbuild Error in slprivate Error in coder.internal.toolstrip.callback.buildMenu Error in coder.internal.toolstrip.callback.buildMenu Error in coder.internal.toolstrip.callback.buildMenu Error in coder.internal.toolstrip.callback.buildMenu
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Deployment, Integration, and Supported Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!