Tutorial to implement a Simulink model into a Texas Instruments control board?

I am looking for a tutorial on how to generate and run a Simulink model (or Matlab code) in a Texas Instruments control board and I cannot find anything useful. There are several documents and videos but it doesn't explain it step by step.
I am getting quite weird errors and I cannot find how to solve them:
Error: File: C:\Apps\R2013a\toolbox\target\extensions\processor\tic2000\blks\mex\tlc_c\c280xgpio_do.tlc Line: 24 Column: 29
Values of NULL type cannot be expanded
I am using a Piccolo Control Stick (F28069).
Many thanks.

6 Comments

Can someone put some light onto this, please?
same problem.. not solved yet. how did you solved?

Sign in to comment.

Answers (1)

Hello People,
Are you using 'Texas Instruments Code Composer Studio v3.3 (C2000)' ?
If yes, this or a similar error can appear when the toolchain selected for the build process is 'Texas Instruments Code Composer Studio v3.3 (C2000)', the model uses a block from the c2000 support package, and the 'Target Hardware' option under 'Target Selection' is not set. To resolve the issue, select a specific board for 'Target Hardware'.
Hope this helps,
Abhishek

Asked:

on 26 Apr 2014

Commented:

on 17 Mar 2021

Community Treasure Hunt

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

Start Hunting!