When I tried to convert the following code to a mex file using coder I've gotten the following error:
Caught "std::exception" Exception message is:
Invalid character code sequence detected.
The above distanceMatrix() has only matrix multiplication and conditional operations.
Then, I have tested also a short code "soma.m", but the error persists:
function c = soma(a,b)
Does anybody knows how to solve this?
I'm working on ubuntu 14.04 with gcc/g++ 4.7.