Error when building model in simulink "Error(s) encountered while building model"
131 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Naia North
am 5 Jul. 2017
Kommentiert: Dynamo
am 19 Sep. 2025
Matlab is failing to compile every block in my main. The error doesn't give me any other information except: "Error(s) encountered while building model" and then a list of all the blocks that failed to compile. The command window says "the make command returned an error of 2, 'An error occurred during the call to make' is not recognized as an internal or external command, operable program or batch file."
I'm using R2013a and one of the updates listed below must have deleted microsoft SDK 7.1 the other night. The code worked fine before these updates. After reinstalling .NET framework 4 and the SDK it's still failing to compile. I think it may be a problem with the mex or xpc setup or maybe I still need to reinstall something.
security update - microsoft visual studio 2010 xml editor
definition update - microsoft security essentials
security update - microsoft visual c++ 2008 service pack 1
security update - microsoft visual studio 2010
Any help would be appreciated
1 Kommentar
Dynamo
am 19 Sep. 2025
Top model targets:
Model Build Reason Status Build Duration
===========================================================================================================================================
RC_AME_CoSim_HF Information cache folder or artifacts were missing. Failed to build. For more information, see build log. 0d
0 of 1 models built (0 models already up to date)
Build duration: 0h 0m 7.1221s
Akzeptierte Antwort
Naia North
am 6 Jul. 2017
1 Kommentar
Mao Rothdamrong
am 26 Sep. 2023
"Error(s) encountered while building" error while building in Matlab Simulink, can you help?
Weitere Antworten (4)
Mao Rothdamrong
am 26 Sep. 2023
"Error(s) encountered while building" error while building in Matlab Simulink, can you help?
0 Kommentare
yahhya
am 9 Mär. 2023
I was facing this problem from last couple of days and I had try this method to solve this problem
- Run Matlab run as administrator.
- The folder path should specify (Ex. This PC, E drive).
- Use folder name like Test_1 becuase I was using Test 1 so matlab could not read the floder path.
3 Kommentare
Serkan Budak
am 5 Apr. 2023
I'm getting "Error(s) encountered while building" error while building on Stm32f4xx card in Matlab Simulink, can you help?
0 Kommentare
Swapnali
am 5 Okt. 2023
Error(s) encountered while building" error while building in Matlab Simulink, can you help?
0 Kommentare
Siehe auch
Kategorien
Mehr zu Verification, Validation, and Test finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
