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?