Fails Model Build with VeriStand Model Generation Support

조회 수: 5 (최근 30일)
Viyils Sangregorio
Viyils Sangregorio 2022년 4월 8일
답변: Narvik 2023년 12월 28일
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

답변 (1개)

Narvik
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!

태그

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by