Error after Code Generation with Simulink for C2000 F2802x

2 views (last 30 days)
Hi,
I am generating my code with MATLAB Simulink for F28027 launchpad. When i build my model, ".out" file of model created at C:\Documents\MATLAB\project\CustomMW and works perfectly. I am not sure thats an error for code generation but command window which appears after code generation shows an error line.
It says in english : '"echo"' is not recognized as an internal or external command, operable program or batch file.
I followed that steps for configure my xmakefile: http://www.mathworks.com/matlabcentral/answers/25472#answer_33930
I attached my xmakefile config. As i said before it does not effect my model and program but i could not get why i am getting this error.
  1 Comment
Jay
Jay on 4 Sep 2014
Hi Dear, I hope u have menaged to overcome this step, also I had like that problem but so many time ago I recommend you to follow youtube video steps, if you had problem try again the same videos steps try to do every ayar:) the same. even File locations must be the same.. İt is really borring to start developing but after that i hope it gona be better. I hope it help you

Sign in to comment.

Answers (1)

Antonin
Antonin on 6 Feb 2015
Hi all,
The "echo" that you see is present in the xmakefilesetup as an example for the execute command. It is not needed and generates the benign error that you see. Go to xmakefilesetup and remove the "echo" command showing on the "execute" tab.
More info is provided in the following video: https://www.youtube.com/watch?v=AY4GzMLl30A
Automated download can be provided using the "execute" tab of xmakefilesetup, this feature is provided out of the box in R2013b using the new ert.tlc system target file.
I hope it helps,
Good luck!
Antonin.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!