Fails Model Build with VeriStand Model Generation Support
5 ビュー (過去 30 日間)
古いコメントを表示
I have the following error,
I have reviewed other amwers however I can not find someting related
Thanks guys,
"C:/Pasantia/Library_ADRC_veristand_rtw/rtmodel.c"
gmake: *** No rule to make target `Sangregorio/AppData/Roaming/MATHWO~1/MATLAB', needed by `veristand_model_capi.obj'. Stop.
C:\Pasantia\Library_ADRC_veristand_rtw>echo The make command returned an error of 2
The make command returned an error of 2
C:\Pasantia\Library_ADRC_veristand_rtw>exit /B 1
Build Summary
Error(s) encountered while building "Library_ADRC"
Component:Simulink | Category:Block diagram error
0 件のコメント
回答 (1 件)
Narvik
2023 年 12 月 28 日
Hi
As per my understanding, you are receiving the error: ‘The make command returned an error of 2’ while trying to build a model with VeriStand Model Generation Support.
This error usually occurs if MinGW was installed for a different version of MATLAB than the one being used to generate code. To fix this problem, ensure that MinGW is installed for the specific version of MATLAB in use.
Please refer to the following MATLAB Answer for more information on installing MinGW for use in MATLAB: https://www.mathworks.com/matlabcentral/answers/313290-how-do-i-install-mingw-for-use-in-matlab
Hope this helps!
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!