First time here? Check out the Help page!

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 7 years ago

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.

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
2

answered 6 years ago

Samuel de Vries's avatar

updated 6 years ago

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.

Preview: (hide)
link

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: 7 years ago

Seen: 198 times

Last updated: Aug 24 '18