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.

Error running dss.bat from Simulink or through command terminal

I have been trying to execute dss.bat through simulink or through the command terminal to execute the runProgram.js java script provided by Matlab.

But, every time I try to execute it throws an error saying

"\Texas was unexpected at this time"

Does anyone have any idea on what it might be.?

Thank You

RK

  • Hi RK,

    It can't say for sure (since I am not too familiar with the simulink environment) but it sounds like simulink is having issues with some of the paths that are expanded in the dss.bat file. It could be that it does not like the spaces in the path (CCSv4 installed in 'C:\Program Files\Texas Instruments' while CCSv5 now installs in 'C:\ti'). or perhaps it does not like the backslashes. In any case you will need to tweak the bat file so that it will work in simulink. It should be possible, others have gotten DSS scripts to run from simulink. If you search this forum you should see some other threads along the same topic.

    Thanks

    ki