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
解決済! 解決策の投稿を見る。
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.
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
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.
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