string(REGEX REPLACE "\\\\""/" MATLAB_ROOT ${MATLAB_ROOT})# replacing \ chars (win. separator) by / to avoid error with path in makefile later (typically: C:\MATLAB could become C:MATLAB)
endif()
else()
message(WARNING "Unknown type of plateform for matlab")
message(WARNING "Unknown type of plateform for matlab")