Set C2000 Hardware Support Package Control Suite Directory Programmatically
35 views (last 30 days)
Show older comments
DKalale on 13 May 2017
Answered: Venkatesh Chilapur on 16 May 2017
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?
Venkatesh Chilapur on 16 May 2017
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.
Find more on Texas Instruments C2000 Processors in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!