Forum Discussion
Altera_Forum
Honored Contributor
15 years agoTo make sure QUARTUS_ROOTDIR is set correctly, right-click on My Computer and select properties. Then click on the Advanced tab and select Environment Variables. Now check that QUARTUS_ROOTDIR is there (adding it if it's not to System Variables although I think user variables will work as well). Click OK.
now restart matlab and try again. I think !echo %QUARTUS_ROOTDIR% will work, but FYI the MATLAB way to do it is "getenv QUARTUS_ROOTDIR".