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

44 views (last 30 days)
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?

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.

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 :

Categories

Find more on MATLAB Coder in Help Center and File Exchange

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by