MBDT S32K3 - Import Already Existing mex File

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

MBDT S32K3 - Import Already Existing mex File

跳至解决方案
1,072 次查看
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 项奖励
回复
1 解答
1,052 次查看
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 项奖励
回复
1 回复
1,053 次查看
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 项奖励
回复