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

Antworten (2)

Siva Aduri
Siva Aduri am 19 Mai 2012

1 Stimme

you have to type this in command prompt (if you are using windows) not in MATLAB command window
Chris
Chris am 15 Jan. 2013

0 Stimmen

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);

Kategorien

Mehr zu Loops and Conditional Statements finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 25 Nov. 2011

Community Treasure Hunt

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

Start Hunting!

Translated by