Investigate whether recent mex-changes broke backward compatibility with older Matlab versions
Giovanni Lombardo reports a compilation error under Ubuntu with Matlab 2010a:
error: unknown type name ‘char16_t’
typedef char16_t mxChar;
(see http://www.dynare.org/phpBB3/viewtopic.php?f=1&t=11556).
The post at http://stackoverflow.com/questions/22367516/mex-compile-error-unknown-type-name-char16-t
suggests that one might need to add
typedef uint16_t char16_t;
before
#include "mex.h"