What is the reason why the generated code don't have the main.c file ?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

What is the reason why the generated code don't have the main.c file ?

739 Views
ChenBowen
Contributor II
 

13.png

Generate code,but there is no main.c file.   what is wrong?  

 

 

0 Kudos
Reply
1 Reply

710 Views
SorinIBancila
NXP Employee
NXP Employee

Hello ChenBowen,

After you build the model, two folders are generated in the matlab's current location:

  • model_name_mbd_rtw;
  • slprj.

Inside the first folder ('model_name_mbd_rtw'), you are going to find the generated files. Here you are going to find the mbd_main.c.

Best regards,

Bancila Sorin

0 Kudos
Reply