For youe ref here is what i am getting from Matlab:
>mex -setup
Please choose your compiler for building external interface (MEX) files:
Would you like mex to locate installed compilers [y]/n? y
Select a compiler:
[1] Lcc-win32 C 2.4.1 in C:\MATLAB\sys\lcc
[2] Microsoft Visual C++ 6.0 in C:\Program Files\Microsoft Visual Studio
[0] None
Compiler: 2
Please verify your choices:
Compiler: Microsoft Visual C++ 6.0
Location: C:\Program Files\Microsoft Visual Studio
Are these correct?([y]/n): y
Warning: MEX requires that the Microsoft Visual C++ 6.0
directories "VC98" and "Common" be located within the same parent directory.
(Expected to find these directories in 'C:\Program Files\Microsoft Visual Studio'.)
Trying to update options file: C:\Documents and Settings\uidc1071\Application Data\MathWorks\MATLAB\R2007a\mexopts.bat
From template: C:\MATLAB\bin\win32\mexopts\msvc60opts.bat
Done . . .
Checking block usage.
### Starting Real-Time Workshop build procedure for model: CANoeMAT
### Generating code into build directory: C:\Documents and Settings\uidc1071\My Documents\MATLAB\CANoeMAT_cn_rtw
### Invoking Target Language Compiler on CANoeMAT.rtw
tlc
-r
C:\Documents and Settings\uidc1071\My Documents\MATLAB\CANoeMAT_cn_rtw\CANoeMAT.rtw
C:\Documents and Settings\uidc1071\My Documents\MATLAB\cn.tlc
-OC:\Documents and Settings\uidc1071\My Documents\MATLAB\CANoeMAT_cn_rtw
-IC:\Documents and Settings\uidc1071\My Documents\MATLAB
-IC:\Documents and Settings\uidc1071\My Documents\MATLAB\CANoeMAT_cn_rtw\tlc
-IC:\MATLAB\rtw\c\tlc\mw
-IC:\MATLAB\rtw\c\tlc\lib
-IC:\MATLAB\rtw\c\tlc\blocks
-IC:\MATLAB\rtw\c\tlc\fixpt
-IC:\MATLAB\stateflow\c\tlc
-aEnforceIntegerDowncast=1
-aFoldNonRolledExpr=1
-aInlineInvariantSignals=0
-aInlineParameters=0
-aLocalBlockOutputs=1
-aRollThreshold=5
-aZeroInternalMemoryAtStartup=1
-aZeroExternalMemoryAtStartup=1
-aInitFltsAndDblsToZero=1
-aGenerateReport=0
-aGenCodeOnly=0
-aRTWVerbose=1
-aIncludeHyperlinkInReport=0
-aLaunchReport=0
-aForceParamTrailComments=0
-aGenerateComments=1
-aIgnoreCustomStorageClasses=1
-aIncHierarchyInIds=0
-aMaxRTWIdLen=31
-aShowEliminatedStatements=0
-aPrefixModelToSubsysFcnNames=1
-aIncDataTypeInIds=0
-aInsertBlockDesc=0
-aSimulinkBlockComments=1
-aInlinedPrmAccess="Literals"
-aTargetFcnLib="ansi_tfl_tmw.mat"
-aIsPILTarget=0
-aLogVarNameModifier="rt_"
-aGenerateFullHeader=1
-aExtMode=0
-aExtModeStaticAlloc=0
-aExtModeTesting=0
-aExtModeStaticAllocSize=1000000
-aExtModeTransport=0
-aRTWCAPISignals=0
-aRTWCAPIParams=1
-aGenerateASAP2=0
-aOutputDir=""
-aExportCAPLFcn=1
-aEnableParameterization=1
-aEnableSignalAnalysis=0
-aGenerateDSPFile=0
-aPerformSimStepAtStart=0
-aUseFullSignalQualification=0
-aCheckCANoeBlockConfiguration=0
-aGenerateModelDescription=0
-aVISUAL_VER=""
-p10000
### Loading TLC function libraries
.....
### Initial pass through model to cache user defined code
.
### Caching model source code
...........
### Generating TLC interface API.
.....
### Writing source file CANoeMAT_capi.c
.
### Writing header file CANoeMAT_capi.h
..................
### Writing header file CANoeMAT_types.h
### Writing header file CANoeMAT.h
.
### Writing source file CANoeMAT.c
### Writing header file CANoeMAT_private.h
### Writing header file rtmodel.h
### Writing source file CANoeMAT_data.c
.
### Writing header file rt_nonfinite.h
### Writing source file rt_nonfinite.c
### TLC code generation complete.
### Successful completion of Real-Time Workshop build procedure for model: CANoeMAT
Please help me friends..
Thanks in advance
Sharon
-reilly.
"Sharon " <sivam...@yahoo.co.in> wrote in message <h1pi09$l4q$1...@fred.mathworks.com>...