Try EnergyPlus Co-simulation Toolbox, it would be easier than BCVTB. https://www.mathworks.com/matlabcentral/fileexchange/69074-energyplus-co-simulation-toolbox