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

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)

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:

Products

Release

R2020a

Asked:

on 6 Oct 2021

Edited:

on 26 Oct 2021

Community Treasure Hunt

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

Start Hunting!