Using the thermal description .xml in Matlab

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.

  1. PLECS xml thermal description can be loaded into Matlab with ‘standard’ readstruct() function
    image

  2. The tables need to be pre-processed to allow Matlab interpolation

  3. Generalized method to create a function handle store it in the same struct.

  1. 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.

Plexim has not made a similar tool, as the focus is on transient modeling of the system within PLECS. There are tools to help bring data in various formats into the required XML structure, but not extract the data from the XML file into a non-PLECS based simulation.

I’d be interested in seeing the solution and application you develop!