Zhengping Jiang

C and Matlab Mixed Language Programming Performance Optimization of RTD Simulation Tool

C and Matlab Mixed Language Programming Performance Optimization of RTD Simulation Tool Zhengping Jiang, Samarth Agarwal, Gerhard Klimeck

Objective/Problem:

  • Speed up Matlab-based RTD simulation tool
  • Matlab does not handle loops well

Approach:

  • Rewrite critical parts in C
  • Use MEX-file to pass data between C and Matlab.

Results:

  • Reduce compute time from minutes to 1 second

Impact:

  • Enable users to compute RTDs in a few seconds

=> increase user base!

Powerpoint slide as ppt, pdf, or as image below.