I am using the m8r command of the matlab API and came across seg fault with the new matlab 2017a version. For some reason automatic casting of 'int' into the matlab size types does not work anymore.