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

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.

Réponses (1)

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!

Catégories

En savoir plus sur Deployment, Integration, and Supported Hardware dans Centre d'aide et File Exchange

Produits

Version

R2022b

Question posée :

le 30 Juin 2023

Réponse apportée :

le 29 Jan 2025

Community Treasure Hunt

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

Start Hunting!

Translated by