Solution I got from mathworks technical support -
Get rid of these errors by removing the included header file in the Configuration Parameters. Perform forllowing Steps -
Open Configuration Parameters:
Open Code Generation tab -> Custom Code -> Insert custom C code in generated -> Header File:
There is an entry for #"include F2837xD_IPC_drivers.h" which you can delete.
This should get rid of the build error!
2 Comments
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/471108-why-failed-to-generate-all-binary-outputs-error-occuring-while-creating-model-reference-from-subsy#comment_723378
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/471108-why-failed-to-generate-all-binary-outputs-error-occuring-while-creating-model-reference-from-subsy#comment_723378
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/471108-why-failed-to-generate-all-binary-outputs-error-occuring-while-creating-model-reference-from-subsy#comment_723567
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/471108-why-failed-to-generate-all-binary-outputs-error-occuring-while-creating-model-reference-from-subsy#comment_723567
Sign in to comment.