1

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.

Ryan Sharston's avatar
11
Ryan Sharston
asked 2018-04-07 18:30:26 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

2

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.

Samuel de Vries's avatar
346
Samuel de Vries
answered 2018-08-24 10:29:59 -0500, updated 2018-08-24 10:30:33 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments