check if matlab has h5create support

Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
matlab: move DirChar2Int out of private sub folder to use it within openEMS ports

Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>