Model Error Code generation file does not exist
3 views (last 30 days)
Show older comments
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 Comments
Answers (0)
See Also
Categories
Find more on Deployment, Integration, and Supported Hardware 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!