🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Simplified C Block for Embedded Code Generation

User: "Altair Forum User"
Altair Employee
Updated by Altair Forum User

Hi'
When I define a new function with input and output argument like as "float a_new_function (float x1, float x2){}" in Simplified C Block for Embedded Code Generation for TI DSP, simulation is ok. But generated code is not compiled in code composer studio v6. I think the problem is that the defined function is imported into Simplified C Block fuction labeled as "interrupt void Task() {}", so compiler returned an error.
Is there any way to define a global function in Simplified C Block ?
Thank you.

Find more posts tagged with