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.

Serial external mode example in Matlab 2016



Hi,

I am working on TI High Volatge Motor Control and PFC Kit with F28035 Control card. I am using C2000 embedded coder hardware support package for package with Matlab 2016 and CCSv5 for developing my algorithms.

I am trying to run the example project c28x_serial_ext provided with the C2000 Embedded coder hardware support package but I am unable to run the example. The following error arises on build.

"C:/ProgramData/MATLAB/SupportPackages/R2016b/toolbox/target/supportpackages/tic2000/src/rtiostream_serial_c28x_ext.c", line 198: error: argument of type "size_t *" is incompatible with parameter of type "int *" 

It is using ert.tlc build procedure.

I have checked all the settings in Model Configurations Parameters dialog and everything seems good. I have selected F28035 boot from flash option and comm port selection is also fine.

I am successful in building any other project or file, the problem is only when I use the external mode.

Can anybody help me in figuring out the problem?