MPC5675K Simulink code generation error

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

MPC5675K Simulink code generation error

623 Views
AsierMaser
Contributor I

Hi all,

I am working on a Simulink software and I am getting an error when generating the code. It is strange because both the compiler and the code generator advisor say that there is no error in the code, but the Matlab prompt shows an error message. This is what I get in the Matlab prompt:

Sin título.png

As I have said, the compiler shows no error, but the code generator advisor  shows a warning. The warning is regarding the use of pulse generator blocks, and it is the only warning as you can see in the attached figure:

Sin título.png

I also attach the config of the realtime workshop config page:

Sin título.png

My system info:

Windows XP SP3 32 bits

Matlab R2010a 

Motor Control Toolbox for MPC567xK

Any idea on what is happening here?

Best regards

0 Kudos
2 Replies

579 Views
SorinIBancila
NXP Employee
NXP Employee

Hello,

Unfortunately the toolbox you are trying to use is deprecated and I am unable to properly provide support for it. 

A suggestion I have for you is to consult the Motor_Control_Toolbox_Manual included in the toolbox and to make sure you followed all the steps required (Chapter 2.2 Installation Steps and 4. Required and Recommended Products).

Best regards,

Bancila Sorin

0 Kudos

567 Views
AsierMaser
Contributor I

Hello,

We were able to solve the problem, now code generation works as expected.

Best regards

0 Kudos