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
you have to type this in command prompt (if you are using windows) not in MATLAB command window
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