Effacer les filtres
Effacer les filtres

Fails Model Build with VeriStand Model Generation Support

3 vues (au cours des 30 derniers jours)
Viyils Sangregorio
Viyils Sangregorio le 8 Avr 2022
Réponse apportée : Narvik le 28 Déc 2023
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

Réponses (1)

Narvik
Narvik le 28 Déc 2023
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!

Tags

Produits


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by