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.

How can I realize IQ multiplication or division in simulink Matlab Function

I am using a C2000 processor, and I want to generate code by using matlab simulink.

However, I found that, in simulink Matlab Function, there is a error when I write a code like "Kp*err",

where Kp and err are both IQ format.

I know that there is a support block called " IQNmpy" that realizes multiplication,

but I want to realize multiplication in simulink Matlab Function.

Could any one tell me the solution?