Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Revision history [back]

How to make BCVTB call MATLAB

Hi,

I am new to BCVTB. I am trying a simple task of integrating BCVTB and MATLAB. I have created a simple "add/subtract" code in MATLAB. I have also created a simple BCVTB model. Now, I would like to provide BCVTB model with two numbers, and have it call MATLAB to add and/or subtract the numbers and display the results. My current BCVTB model can call the MATLAB code but unable to bring the two numbers ("Cons" actor) that I have linked to the MATLAB ("Simulator" actor). Hope my explanation of the problem makes sense.