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

How to make BCVTB call MATLAB

asked 2018-04-07 18:30:26 -0500

Ryan Sharston's avatar

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.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2018-08-24 10:29:59 -0500

Samuel de Vries's avatar

updated 2018-08-24 10:30:33 -0500

did you have a look at the example called matlab-room (it is in the BCVTB/Examples folder)? Also see this question regarding data exchange between BCVTB and matlab.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Training Workshops

Careers

Question Tools

1 follower

Stats

Asked: 2018-04-07 18:30:26 -0500

Seen: 140 times

Last updated: Aug 24 '18