MATLAB: Do I receive an error when a function pointer is used as parameter in PolySpace Client for C/C++

Polyspace Client for C/C++

During the 'Verifying sources' in a PolySpace analysis, I receive the following error:
Fatal error : function 'xxxx' refers to a function pointer either much too complex or in a too-complex data-structure, or with unknown parameters.
It cannot be stubbed automatically.
This error can also occur when using a unit-by-unit verification as of R2009b.

Best Answer

The ability to stub a function pointer automatically is not available in PolySpace Client for C/C++ even if the function pointer is a parameter.
To work around this issue, you can stub the function pointer manually or use the option "-permissive-stubber". This will throw a warning rather than an error.