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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

1,452 次查看
ChenBowen
Contributor II
 

13.png

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

 

 

0 项奖励
回复
1 回复

1,423 次查看
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 项奖励
回复