Can not convert a Simulink (.slx) model into compiled (.dll) file: NMAKE : fatal error U1073.

2 visualizaciones (últimos 30 días)
Hi, everyone!
I have an issue while tried to convert a Simulink (.slx) model into compiled (.dll) for use in NI VeriStand environment. This (.slx) model consists of Simulink blocks, SimDriveline blocks and SimElectronic blocks but not includes Stateflow features. The first time I built (.dll) file from the model in Simulink environment, it returned with an error:
"Aborted due to an error in the build procedure for model: XXX
Multiple compilation errors detected while compiling XXX model.
Caused by: * ['XXX/YYY_UMT']: Syntax error encountered while parsing unit expression, ' ' ."
In which, "XXX" is my model's name, and "YYY_UMT" is a submodel including some SimDriveline blocks. After that, I replaced the submodel with another SimDriveline block and deleted some other relative blocks of the model and then tried to converted the model again. The converting process conducted for a few seconds and returned with another error message:
"### Creating C:\VeriStand\2015\ModelInterface\tmw\lib\x86\vc\10.0\R2015b\RELEASE\pm_nimf.lib
lib /nologo /out:C:\VeriStand\2015\ModelInterface\tmw\lib\x86\vc\10.0\R2015b\RELEASE\pm_nimf.lib @C:\VeriStand\2015\ModelInterface\tmw\lib\x86\vc\10.0\R2015b\RELEASE\pm_nimf.txt
### Created C:\VeriStand\2015\ModelInterface\tmw\lib\x86\vc\10.0\R2015b\RELEASE\pm_nimf.lib
NMAKE : fatal error U1073: don't know how to make 'C:\VeriStand\2015\ModelInterface\tmw\lib\x86\vc\10.0\R2015b\RELEASE\dummy.obj'
Stop.
C:\Users\.....\XXX\XXX_niVeriStand_rtw>echo The make command returned an error of 2
The make command returned an error of 2
C:\Users\......\\XXX\XXX_niVeriStand_rtw>An_error_occurred_during_the_call_to_make
'An_error_occurred_during_the_call_to_make' is not recognized as an internal or external command,
operable program or batch file.
### Aborted due to an error in the build procedure for model: XXX
Error(s) encountered while building "XXX"."
My laptop is set up with: Matlab R2015b, LabVIEW 2015, VeriStand 2015 SP1, Microsoft Visual Studio Premium 2012, Micrsoft Visual Studio 2010 Professional. In addition, when I built a simple Simulink (.slx) model, i could convert it successfully to (.dll) file and it ran well in VeriStand environment.
Thank you all!

Respuestas (0)

Categorías

Más información sobre Quantizers en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!