How to give control command through MATAB to Code Composer Studio code

2 views (last 30 days)
Perwez Alam
Perwez Alam on 6 Oct 2021
Edited: Venkatesh Chilapur on 26 Oct 2021
Hello Sir,
I have ccs code which boots from flash in c2000 TMS320F28379D launchpad. One of the control variable in that code has to be commanded from the MATLAB simulink through SCI .Is it possible ?

Answers (1)

Venkatesh Chilapur
Venkatesh Chilapur on 26 Oct 2021
Edited: Venkatesh Chilapur on 26 Oct 2021
Please refer the following example which showcases the 2 model approach. Here you can command a control value from Host model to a Target model that runs inside the controller.
The working of the above model is explained in the video below:

Community Treasure Hunt

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

Start Hunting!