I know that it is possible to call MATLAB from TRNSYS, Using TYPE 155, but don't know if it is possible to call TRNSYS from MATLAB. What I'm trying to do is using MATLAB optimization tools to solve a multi-objective optimization problem. I'm trying to ask MATLAB to read TRNSYS output file, modify it to create a new input file and initiate TRNSYS.