Error popped : Failed Code generation information file does not exist. 0 of 1 models built (0 models already up to date)

16 views (last 30 days)
While deploying a trial code on my STM32 F446ZE MCU following error popped up :-
### Starting build procedure for: TRIAL_2 ### Build procedure for TRIAL_2 aborted due to an error.
Build Summary
Top model targets built: Model Action Rebuild Reason =================================================================== TRIAL_2 Failed Code generation information file does not exist. 0 of 1 models built (0 models already up to date) Build duration: 0h 0m 1.169s
STM32 Project must be generated with NoMain option enabled.

Answers (1)

Manish
Manish on 29 Jan 2025
Hi Jashan
I understand that you are facing the error 'code generation Information file doesnot exist'.
To resolve the error you can try the below steps:
  1. Make sure the build folder exists and that its path is accurately defined.
  2. Look for any errors in the MATLAB Command Window that might have led to the failure of code generation
  3. Ensure that the necessary support packages and target files are installed in MATLAB.
  4. Try shortening the path and attempt to build and generate again.
Refer the below MATLAB answers for better understanding:
Hope it helps!

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!