Azzera filtri
Azzera filtri

Problems with embedded software using DSS

3 visualizzazioni (ultimi 30 giorni)
Dennis
Dennis il 25 Nov 2011
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

Risposte (2)

Siva Aduri
Siva Aduri il 19 Mag 2012
you have to type this in command prompt (if you are using windows) not in MATLAB command window

Chris
Chris il 15 Gen 2013
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);

Community Treasure Hunt

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

Start Hunting!

Translated by