From: Mark Dranias on
I have MATLAB 2009b 64 bit running on Windows 7. I have installed Visual Studio 9.0 (professional) and the Intel 64 bit compiler (evaluation).

I am trying to run an install program that makes the call to the c++ compiler !nmake. The error I get is that 'nmake' is not recognized as an internal or external command,
operable program or batch file.
If I open a commandshell in windows, run vcvars64.bat, nmake is executable everywhere (except in matlab). If I try to !vcvars64 in matlab, nmake still doesnt work.
I have run mex -setup and set the compiler to Visual Studio 9.0 without major incident (a warning).

Help please!
From: Frank Maier on
"Mark Dranias" <mdranias(a)netscape.net> wrote in message <hjboq0$ebt$1(a)fred.mathworks.com>...
> I have MATLAB 2009b 64 bit running on Windows 7. I have installed Visual Studio 9.0 (professional) and the Intel 64 bit compiler (evaluation).
>
> I am trying to run an install program that makes the call to the c++ compiler !nmake. The error I get is that 'nmake' is not recognized as an internal or external command,
> operable program or batch file.
> If I open a commandshell in windows, run vcvars64.bat, nmake is executable everywhere (except in matlab). If I try to !vcvars64 in matlab, nmake still doesnt work.
> I have run mex -setup and set the compiler to Visual Studio 9.0 without major incident (a warning).
>
> Help please!

Hello Mark,

how did you start matlab after you executed vcvars ? AFAIK vcvars only changes the environment inside the shell where it is executed.

Try following:
start the shell
execute vcvars
execute Matlab from that shell.

BR
Frank