Hi,
I tested your demo project and when I try to open config tool, it says that .mex file is corrupted. If I deleted the .mex file and let Config Tool create new one, I can normally generate code and use Config Tool without any issue.
If the corrupted .mex file was unmodified - I suggest to re-install S32DS.