MBDT S32K3 - Import Already Existing mex File

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

MBDT S32K3 - Import Already Existing mex File

Jump to solution
616 Views
abhishekkumarbwi
Contributor I

Hello All, 

I am trying to get the configuration of the Model from an existing.mex file [which is already populated]. 

Normally, when I try to configure the Simulink blocks. I am only able to change the existing .mex file. 

How can I replace the existing file with configuration for my board and needs? 

 

Best regards,

Abhishek KUMAR 

0 Kudos
Reply
1 Solution
596 Views
Irina_Costachescu
NXP Employee
NXP Employee

Hello @abhishekkumarbwi 

For your scenario, please note that you could use the .mex file which addresses the particularities of your application and of your hardware design as a Configuration Template for your model.

By opening the Model Settings, and navigating to Hardware Implementation - Target Hardware Resources - Hardware tab, you could see that the Configuration Template for a model is set to a default project that our toolbox provides, automatically chosen based on the selected Configuration Tool and Hardware Part.

Irina_Costachescu_0-1708435950378.png

 

This Configuration Template will be copied from its location next to the model. From the Simulink blocks, when pressing Configure, you can furtherly modify the copy associated with your model, while leaving the Configuration Template unaltered.

In your use case, you can change this Configuration Template by pressing the Browse button and select your own .mex file. Moreover, you could also Save the configuration for further usage and Open it for inspecting/modifying settings, using the Save configuration and Open configuration buttons.

For more details of this functionality, you could check Chapter 3.7 (Support for custom default project) inside the Model_Based_Design_Toolbox_S32K3xx_Series_Release_Notes.

Let us know if this helps or if further information is needed.

Thank you,
Irina

View solution in original post

0 Kudos
Reply
1 Reply
597 Views
Irina_Costachescu
NXP Employee
NXP Employee

Hello @abhishekkumarbwi 

For your scenario, please note that you could use the .mex file which addresses the particularities of your application and of your hardware design as a Configuration Template for your model.

By opening the Model Settings, and navigating to Hardware Implementation - Target Hardware Resources - Hardware tab, you could see that the Configuration Template for a model is set to a default project that our toolbox provides, automatically chosen based on the selected Configuration Tool and Hardware Part.

Irina_Costachescu_0-1708435950378.png

 

This Configuration Template will be copied from its location next to the model. From the Simulink blocks, when pressing Configure, you can furtherly modify the copy associated with your model, while leaving the Configuration Template unaltered.

In your use case, you can change this Configuration Template by pressing the Browse button and select your own .mex file. Moreover, you could also Save the configuration for further usage and Open it for inspecting/modifying settings, using the Save configuration and Open configuration buttons.

For more details of this functionality, you could check Chapter 3.7 (Support for custom default project) inside the Model_Based_Design_Toolbox_S32K3xx_Series_Release_Notes.

Let us know if this helps or if further information is needed.

Thank you,
Irina

0 Kudos
Reply