I'm developing my own Toolbox called 'Mix Toolbox'.
My folders struct is:
function [dbfs] = amp2dbfs(sample)
dbfs = 20 * log10(abs(sample));
I call this function typing:
out = mix.amp2dbfs(value);
I'm trying to compile this function to MEX. In the MATLAB Coder I got:
-> Generating trial code: OK
-> Building MEX: OK
-> Running test file: ERROR
The invoked code did not call entry-point function: 'amp2dbfs'.
I tested the generated MEX file and it works.
I think that this MATLAB Coder error is only about the call 'amp2dbfs' and not 'mix.amp2dbfs'.
My question is: Is there a way to remove the final error in "Running test file" process?