MATLAB: How to Change/Set coder Error limit

coder errorerror limitmatlab coder

while using codgen command or the coder app I get this error
"Error limit reached. Suppressing further error messages."
what is coder Error limit and how can i set/change it?
I'm trying to produce a detailed error report with all the errors coder can identify.

Best Answer

  • This is (for now) an internally-set limit.
    Similar to other compilers, some errors messages tend to "cascade", producing multiple errors from the same cause.
    With this in mind, limiting the number of errors prevents a huge list of unhelpful errors, hopefully enabling you to find the real problems.
    If changing this limit would help your work, please contact MathWorks Technical Support with more details about your use case.