I am using the NI SIT, and with it comes a nidll.tlc which I can use to build Matlab models into .dll files. When I build, Matlab would say that the build was successful, but not .dll can be found anywhere. In the Matlab screen, the only thing that indicates something went wrong is: Could Not Find C:\Program Files\National Instruments\LabVIEW 2010\examples\Simulation Interface\Sine Wave\sinewave_nidll_rtw\*.obj
Can someone help with a) figuring out why no .dll file was generated, or b) why this *obj file could not be found? Thanks.
>> 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:\PROGRA~1\MATLAB\R2008a\sys\lcc\bin
[2] Microsoft Visual C++ 2008 in C:\Program Files\Microsoft Visual Studio 9.0
[3] Microsoft Visual C++ .NET 2003 in C:\Program Files\Microsoft Visual Studio .NET 2003
[0] None
Compiler: 3
Please verify your choices:
Compiler: Microsoft Visual C++ .NET 2003
Location: C:\Program Files\Microsoft Visual Studio .NET 2003
Are these correct [y]/n? y
Warning: MEX requires that the Microsoft Visual C++ 7.1
directories "Vc7" and "Common7" be located within the same parent directory.
(Expected to find these directories in 'C:\Program Files\Microsoft Visual Studio .NET 2003'.)
Trying to update options file: C:\Documents and Settings\HILContUser\Application Data\MathWorks\MATLAB\R2008a\mexopts.bat
From template: C:\PROGRA~1\MATLAB\R2008a\bin\win32\mexopts\msvc71opts.bat
Done . . .
**************************************************************************
Warning: The MATLAB C and Fortran API has changed to support MATLAB
variables with more than 2^32-1 elements. In the near future
you will be required to update your code to utilize the new
API. You can find more information about this at:
Building with the -largeArrayDims option enables the new API.
**************************************************************************
### Starting Real-Time Workshop build procedure for model: sinewave
### Generating code into build directory: C:\Program Files\National Instruments\LabVIEW 2010\examples\Simulation Interface\Sine Wave\sinewave_nidll_rtw
### Invoking Target Language Compiler on sinewave.rtw
tlc
-r
C:\Program Files\National Instruments\LabVIEW 2010\examples\Simulation Interface\Sine Wave\sinewave_nidll_rtw\sinewave.rtw
C:\SimulationInterfaceToolkit\2010\ModelInterface\tmw\R2007b\nidll.tlc
-OC:\Program Files\National Instruments\LabVIEW 2010\examples\Simulation Interface\Sine Wave\sinewave_nidll_rtw
-IC:\SimulationInterfaceToolkit\2010\ModelInterface\tmw\R2007b
-IC:\SimulationInterfaceToolkit\2010\UserInterface\R2007b\tlc_c
-IC:\Program Files\National Instruments\LabVIEW 2010\examples\Simulation Interface\Sine Wave\sinewave_nidll_rtw\tlc
-IC:\Program Files\MATLAB\R2008a\rtw\c\tlc\mw
-IC:\Program Files\MATLAB\R2008a\rtw\c\tlc\lib
-IC:\Program Files\MATLAB\R2008a\rtw\c\tlc\blocks
-IC:\Program Files\MATLAB\R2008a\rtw\c\tlc\fixpt
-IC:\Program Files\MATLAB\R2008a\stateflow\c\tlc
-aEnforceIntegerDowncast=0
-aFoldNonRolledExpr=0
-aInlineInvariantSignals=0
-aInlineParameters=0
-aLocalBlockOutputs=0
-aRollThreshold=5
-aZeroInternalMemoryAtStartup=1
-aZeroExternalMemoryAtStartup=1
-aInitFltsAndDblsToZero=1
-aGenerateReport=0
-aGenCodeOnly=0
-aRTWVerbose=1
-aIncludeHyperlinkInReport=0
-aLaunchReport=0
-aGenerateTraceInfo=0
-aForceParamTrailComments=0
-aGenerateComments=1
-aIgnoreCustomStorageClasses=1
-aIncHierarchyInIds=0
-aMaxRTWIdLen=31
-aShowEliminatedStatements=1
-aIncDataTypeInIds=0
-aInsertBlockDesc=0
-aSimulinkBlockComments=1
-aInlinedPrmAccess="Literals"
-aTargetFcnLib="ansi_tfl_tmw.mat"
-aIsPILTarget=0
-aLogVarNameModifier="rt_"
-aGenerateFullHeader=1
-aGenerateTraceInfo=0
-p10000
### Loading TLC function libraries
.....
### Initial pass through model to cache user defined code
### Caching model source code
......................
### Writing header file sinewave_types.h
### Writing header file sinewave.h
.
### Writing source file sinewave.c
### Writing header file sinewave_private.h
### Writing header file rtmodel.h
### Writing source file sinewave_data.c
.
### Writing header file rt_nonfinite.h
### Writing source file rt_nonfinite.c
### TLC code generation complete.
### Generating TLC interface API.
..
## SIT 2010 Modifying sinewave.c file
.
## SIT 2010 Modifying sinewave.h file
## SIT 2010 Generating Ports Readme file
Could Not Find C:\Program Files\National Instruments\LabVIEW 2010\examples\Simulation Interface\Sine Wave\sinewave_nidll_rtw\*.obj
### Successful completion of Real-Time Workshop build procedure for model: sinewave
>>