I am wondering if there is functionality to use the MOSFET thermal description in the Matlab environment. In particular, if there is a method to create/extract an interpolation function which takes the same inputs as the PLECS model and enables calling it from the Matlab workspace.
I have done a proof-of-concept, which might explain better what I am looking for.
-
PLECS xml thermal description can be loaded into Matlab with ‘standard’ readstruct() function
-
The tables need to be pre-processed to allow Matlab interpolation
-
Generalized method to create a function handle store it in the same struct.
- The PLECS ‘lookup’ is replaced by the Matlab ‘interpn’
- The function handle becomes something like this:
- Data spoof and calling the function handle in Matlab.
I am wondering if there is something similar already available from PLECS? If not, are there any plans to implement this in the future? This would be an enabling feature for our PLECS/Matlab integration. The PLECS environment can feature as a database for thermal descriptions (allowing customization with the GUI etc.) while allowing optimization to be run in Matlab before detailed simulation in PLECS.