Problems with embedded software using DSS

I read the tutorial "using makefiles with code composer studio 4.x" After creating my xmakefile i want to load and run the software with DSS. But I get the following error:
>dss runProgram.js C:\...\simulink_target_c28027.ccxml C:\...\test_led_piccolo.out
>Error using dss (line 49)
>Invalid syntax for the "dss" command. Type "help dss" for more information.
(... = Directorys)
Alternatively i tried the advanced DSS features with the CCSv4 example batch file "loadti.bat". So i changed the directory
>cd c:\...\ccsv4\scripting\examples\loadti
and start loadti.bat
>loadti -a -c=c:\...\f2802x.ccxml c:\...\test_led_piccolo.out
>Undefined function 'loadti' for input arguments of type 'char'.
I hope somebody can help me
thanks

답변 (2개)

Siva Aduri
Siva Aduri 2012년 5월 19일

1 개 추천

you have to type this in command prompt (if you are using windows) not in MATLAB command window
Chris
Chris 2013년 1월 15일

0 개 추천

You do not HAVE to type it in the command prompt. Matlab provides the "dos" function for this purpose in case you did want to call it from Matlab. The other option is to get the DSS java script written and executed IN Matlab.
Here is an example with DSS
DSS_bat = 'C:\ti\ccsv5\ccs_base\scripting\bin\dss.bat';
script_name = 'ViterbiDSS.js';
run_command = [DSS_bat ' ' script_name];
[~, result] = dos(run_command);

카테고리

도움말 센터File Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기

질문:

2011년 11월 25일

Community Treasure Hunt

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

Start Hunting!

Translated by