问题详述
我正在使用Matlab 2022b和VeriStand 2023 Q4。我安装了VeriStand Model Generation Support 1.0和NI GCC Cross-Compiler for NI Linux Real-Time targets来编译Matlab/Simulink模型,但总是出现错误2:
gmake: *** No rule to make target `C:/Users/xiaoming.Li/AppData/Roaming/MATHWO~1/MATLAB~1/TOOLBO~1/VERIST~1/RUNTIM~1/veristand_model_capi.cpp', needed by `veristand_model_capi.obj'. Stop.
E:\517\3.Sim\4.RTTest\Test_veristand_rtw>echo The make command returned an error of 2
The make command returned an error of 2
E:\517\3.Sim\4.RTTest\Test_veristand_rtw>exit /B 1
Test Failed Code generation information file does not exist.
0 of 1 models built (0 models already up to date)
Build duration: 0h 2m 1.1525s
Error: Error(s) encountered while building "Test"
我确定VeriStand Generation Support 1.0和Matlab 2022b是兼容的。