MATLAB: Error: ” The invoked code did not call entry-point function “

errormatlab codermex

An error came out after I execute my code:
"
The invoked code did not call entry-point function
"
What should I do or how to resolve this error?

Best Answer

You need to write code that will call your function preprocess. It seems that the line you have written does not call this function. Coder uses this to automatically infer the size and types of input and output variables.