Hi guys, I've got this problem too but it can't be solved. I use Matlab 2006b. when I tried to connect with external hardware through ADC/DAC, the error is
'make' is not recognized as an internal or external command, operable program or batch file. ###Real-time Workshop build procedure for model: ' ' aborted due to an error.
I've run the mex -setup,  Lcc C version 2.4.1 in C:\MATLAB~2\2006b\sys\lcc  Microsoft Visual C/C++ version 6.0 in C:\Program Files|Microsoft Visual Studio
and I choose . But it still didn't work for me.
I still using this old Matlab version because my supervisor want me to do so because this version we have custom toolbox made by his former student.
Please, I really stuck with this for 2 days.
Thanks in advanced!