Hello<div>I am trying to read MatlabRoot from Registry ,so I can use it in my include and lib paths.</div><div>like this :</div><div><div>GET_FILENAME_COMPONENT(MATLAB_ROOT_PATH &nbsp;[HKEY_LOCAL_MACHINE\\SOFTWARE\\MathWorks\\MATLAB\\7.0;MATLABROOT] ABSOLUTE)</div>
<div>message(${MATLAB_ROOT_PATH})&nbsp;</div><div><br></div><div>But the message only prints /registry.</div><div><br></div><div>Where is the mistake?</div></div>