Clear Filters
Clear Filters

Set C2000 Hardware Support Package Control Suite Directory Programmatically

30 views (last 30 days)
I am using MATLAB to compile code for the TMS320F28377D Processor in 2016b and 2017a. This uses the C2000 Hardware Support Package which works great.
In the configuration process, I run the "targetupdater" command and one of the windows in the setup process describes "Validate controlSUITE installation". This is where you specify the TI ControlSUITE installation folder.
I would like to specify the TI controlSUITE installation folder programmatically in a MATLAB Script. How can I do this? Is there a MATLAB environment variable that I can change?

Answers (1)

Venkatesh Chilapur
Venkatesh Chilapur on 16 May 2017
Hi,
When we run the targetupdater, we actually record the information that is provided during the support package configuration in to a xml file. This file will save the necessary data including the CCSV and ControlSUITE install path. If you wish to not run the targetupdater, then your script will have to update this xml file with the necessary data as required by support package. This xml file can be found in the support package installation folder: C:\ProgramData\MATLAB\SupportPackages\R2016b\toolbox\target\supportpackages\tic2000\registry\thirdpartytools\thirdpartytools_win64.xml.
Your script should read this file and update the necessary information like path names. I have also attached a reference script and a sample xml file that work together. You may scale up the script to modify the actual xml file.

Community Treasure Hunt

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

Start Hunting!