This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28388D: C2000 Simulink using TI DCL library functions

Part Number: TMS320F28388D
Other Parts Discussed in Thread: C2000WARE

Hello, how to use Digital Control Library in Simulink for C2000 F28388D microcontroller? In particular, I would like to use the PID controller and the Refgen functions. The functions require pointer variables and structs as arguments. I tried so far to integrate the functions with the coder.opaque/coder.ceval Matlab-Coder command and with the C-function caller block. But there were always errors that the variable rgen does not exist.