First time here? Check out the Help page!
1 | initial version |
Your HouseModel is expecting a vector of doubles. Currently it is a String. I hence suggest to do the following:
Change value to be a Vector by changing the curly brackets to square brackets: value = [out, 20]
Use the ExpressionToToken actor from the BCVTB library to convert that String to a vector of doubles. The
ExpressionToToken is in the Conversions package of the BCVTB library.
You will need to configure the output of ExpressionToToken to be a vector of doubles.
You can do it by right clicking on the actor -> selecting Customize -> Ports and by
setting the Type of the output Ports to be [double]. This type should be compatible with the input of your
HouseModel.
2 | No.2 Revision |
Your HouseModel is expecting a vector of doubles. Currently it is a String. I hence suggest to do the following:
Change value
to be a Vector by changing the curly brackets to
square brackets: value = [out, 20]
Use the ExpressionToToken
actor from the BCVTB library to convert that String to a vector of doubles. The
The ExpressionToToken
is in the Conversions
package of the BCVTB library.
You will need to configure the output of ExpressionToToken
to be a vector of doubles.
You can do it by right clicking on the actor -> selecting Customize -> Ports and by
setting the Type of the output Ports to be [double]
. This type should be compatible with the input of your
your HouseModel.
3 | No.3 Revision |
Your HouseModel is expecting a vector of doubles. Currently it is a String. I hence suggest to do the following:
Change value
to be a Vector by changing the curly brackets to
square brackets: value = [out, 20]
Use the ExpressionToToken
actor from the BCVTB library to convert that String to a vector of doubles.
The ExpressionToToken
is in the Conversions
package of the BCVTB library.
You will need to configure the output of ExpressionToToken
to be a vector of doubles.
You can do it by right clicking on the actor selecting Customize
-> selecting Customize -> Ports
and by
setting the Type Type
of the output Ports to be [double]
. This type should be compatible with the input of
your HouseModel.