MATLAB Answers

Error: " The invoked code did not call entry-point function "

29 views (last 30 days)
WanYu on 10 May 2020
Commented: Ameer Hamza on 11 May 2020
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?


Sign in to comment.

Accepted Answer

Ameer Hamza
Ameer Hamza on 10 May 2020
Edited: Ameer Hamza on 10 May 2020
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.


WanYu on 11 May 2020
Thanks for answering.
I have look into it, and it is working now. Thank you.

Sign in to comment.

More Answers (1)

Darshan Ramakant Bhat
Darshan Ramakant Bhat on 11 May 2020
As Ameer told your test file should call the entry-point function to automatically infer the types. More detail is present in the below documentation :

  1 Comment

Sign in to comment.




Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!