NI LabVIEW,CVI,数据采集等产品讨论区

取消
显示结果 
搜索替代 
您的意思是: 

利用SIT实现LV调Simulink模型,MATLAB7.10中Simulink模块编译生成nidl

操作系统为WIN7,已安装LabVIEW2009、MATLAB7.10和VC6.0,无安装LabVIEW RT系统,MATLAB编译过程出现的错误如下:
Warning: Calling MEX-file
'E:\SimulationInterfaceToolkit\2009\UserInterface\R2008b\SignalProbe.dll'.
MEX-files with .dll extensions will not execute in a future version of
MATLAB.
Warning: The model 'untitled' does not have continuous states, hence Simulink
is using the solver 'FixedStepDiscrete' instead of solver 'ode3'. You can
disable this diagnostic by explicitly specifying a discrete solver in the
solver tab of the Configuration Parameters dialog, or by setting the
'Automatic solver parameter selection' diagnostic to 'none' in the
Diagnostics tab of the Configuration Parameters dialog

## SIT 2009 Modifying untitled.c file
Warning:  Unknown data type.  Constructor is "void"
Warning:  Unknown data type.  Constructor is "enum"
Warning:  Unknown data type.  Constructor is "enum"       
## SIT 2009 Modifying untitled.h file
## SIT 2009 Generating Ports Readme file
找不到 E:\Users\Hoprise\Documents\MATLAB\untitled_nidll_rtw\*.obj

### Compiling the source untitled
        cl -Od  -DUSE_RTMODEL -DNI_ROOTMODEL_untitled -DMODEL=untitled -DRT -DNUMST=2  -DTID01EQ=1 -DNCSTATES=0  -DMT=0 -DHAVESTDIO -DNATIONAL_INSTRUMENTS_SIT  -D_CRT_SECURE_NO_DEPRECATE   -c -W3 -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo -D_X86_=1 -D_WINNT -D_WIN32_WINNT=0x0400 -D_WIN32_IE=0x0300 -DWINVER=0x0400 -DWIN32  -D_WIN32 -D_MT -D_DLL -MD -DRVE untitled.c
NMAKE : fatal error U1077: 'cl' : return code '0xc0000135'
Stop.
The make command returned an error of 2
'An_error_occurred_during_the_call_to_make' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
### Real-Time Workshop build procedure for model: 'untitled' aborted due to an error.

上面的错误导致最后无法生成NIDLL,应怎样进行改正,麻烦各位同仁指导,谢谢!
0 项奖励
1 条消息(共 1 条)
4,165 次查看