This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
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 i saw an error on command window which appears after code generation.
It says in english : '"echo"' is not recognized as an internal or external command, operable program or batch file.
I followed this steps for configure my xmakefile: http://www.mathworks.com/matlabcentral/answers/25472#answer_33930
Here it is my xmakefile config:
8371.ticcs_c2000_ccsv5_clone1.rar
As i said before it does not effect my model and program but i could not get why i am getting this error.
Edit: I changed something and i got i new error now. Please see my second post.
Hi Gautam, here is my xmakefile config which include echo command:
After my research about that error i found a document. Mathworks published a solution here : http://www.mathworks.com/matlabcentral/answers/98075-why-is-the-%22echo%22-command-not-recognized-when-i-build-and-execute-a-simulink-model-for-a-texas-instruments-code-composer-studio-v4-and-v5.1-target-configuration
I followed them but i got another error:
File directory of "runProgram.js" is valid but command window says it couldn't open. Firstly i thought it was about administrator permissions and i gave all permissions for all users for this file but nothing changed.
I realized the command window shows directory of "runProgram.js" as "C:\Program" after saying "js: Could'nt open the file". I don't well at DOS but i think that was because of space character. If it is, which character i should put instead of space ?
If it is, which character i should put instead of space ?
Yes, "Program Files" is incorrect in DOS. Usually spaces are replaced by underscore ie "_"
Better; type "dir" when in C: to get the actual name. Actually at my end spaces are working!
Regards,
Gautam
Hi,
I solved my problem with moving .js and target config files to another directory which doesn't include space character.