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

2 views (last 30 days)
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:

Categories

Find more on System Composer in Help Center and File Exchange

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!