Error during embedded code generation " building rtwlib file""

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

Error during embedded code generation " building rtwlib file""

780 Views
Rasoul
Contributor III

Hi,

I am working on a Battery Management System (BMS) design using NXP MBDT and for BMS algorithm. I am using the Matlab example provided at:
https://nl.mathworks.com/matlabcentral/fileexchange/72865-design-and-test-lithium-ion-battery-manage...

Also, there is an example from NXP that a similar project is done for an evaluation board and presented at:

Speed-Up BMS Application Development with NXP's HVBMS RD and Model-Based Design Toolbox (MBDT) | NXP...

I compiled the model and there is no error during compiling the model. However, for generate code and build model I faced the following error:

Error(s) encountered while building "BMS_Out_rtwlib"

In this project each BMS algorithm is integrated in a sub-system. The BMS_OUT is the name of a sub-system in the model. One hint is, if I remove the BMS_OUT sub-system, the same error appears for other sub-systems. So, I appreciate it if you somebody share his/her experience on how to solve this error.

Thanks!

Labels (1)
Tags (1)
0 Kudos
Reply
2 Replies

756 Views
SorinIBancila
NXP Employee
NXP Employee

Hello,

 

It would be handy if you can share the model with me so I can have a look. If it is not possible, a few screenshots with the model might help.

 

Best regards,

Sorin Ioanid Bancila

0 Kudos
Reply

751 Views
Rasoul
Contributor III

Hi Sorin,

Thank you for your response. Our project is confidential, so I cannot share the file publicly.

Could you please let me know how I can securely send it to you?

Best regards,
Rasoul

0 Kudos
Reply