try mex -f %MATLAB%\watcopts.bat filename %MATLAB% is the path to the bin-file like c:\matlab5\bin
that will invoke the special batchfile for the 10.6 compiler
as well you could use -v option --> mex -v -f c:\matlab5\bin\watcopts.bat filename.c
with -v you will get more information during compilation.
OK, try this and LMK Matthias
Ralf Henze schrieb in Nachricht <email@example.com>... >Hi, >I can't create MEX-files with: > >1. MatLab v. 5.1 >2. Watcom compiler v.10.6 >3. NT 4.0 SP 3 > >When I start : > mex filename >the DOS -Window is opened : > D:\WINNT\system32\cmd.exe >a file has been made: > _lib66261.lib >... and nothing more happens. > >I've reinstalled the Watcom Compiler and payed attention about >hosts and targets etc. , but this didn't help. > >I C A N create MEX-files with: >1. MatLab 4.2 >2. Watcom compiler v.10.6 >3. WfW 3.11 > >and >I C A N create MEX-files with: >1. MatLab 4.2 >2. Watcom compiler v.10.6 >3. NT 4.0 SP 3 > >but I can NOT ... see : Hi,... > >Thank's for tips and tricks > >Ralf