https://au.mathworks.com/help/ecoder/ref/rtw.buildinfo.getincludepaths.html
getIncludePaths - Get include paths from build information - MATLAB
This MATLAB function returns the names of include file paths from the build information.
getincludepathsbuildinformation