I am designing a large Hybrid Electric Vehicle model and simulation in MATLAB (multi-order dynamic models of 10+ vehicle components, etc). The intention is to run Monte Carlo simulations with the simulation using the Parallel Computing Toolbox in MATLAB on a 200 node cluster. The simulation was originally implemented in Simulink, but needed to be rewritten in MATLAB M-code for cost/availability/performance/distributed computing reasons.
I have done a large portion of the design and implementation with MATLAB's object oriented programming constructs (and it is an extremely beautiful and elegant solution, if I may say so myself). However, I am concerned that there may be a performance hit for doing it this way, and would like to know what others think about this decision that have done similar things using MATLAB's OO constructs. I would like to hear what others think before I start the next phase of implementing such a system on the cluster (in the case that there is an overwhelming consensus to serialize the code for this application).
Thanks!
Best Answer