Revision history [back]
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. TheExpressionToToken
is in theConversions
package of the BCVTB library.
You will need to configure the output ofExpressionToToken
to be a vector of doubles. You can do it by right clicking on the actor selectingCustomize
->Ports
and by setting theType
of the output Ports to be[double]
. This type should be compatible with the input of your HouseModel.
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. TheExpressionToToken
is in theConversions
package of the BCVTB library.
You will need to configure the output ofExpressionToToken
to be a vector of doubles. You can do it by right clicking on the actor -> selectingCustomize ->Customize
Portsand by setting theType of the output Ports to beType
[double]
. This type should be compatible with the input of your HouseModel.
Your HouseModel is expecting a vector of doubles. Currently it is a String. I hence suggest to do the following:
Change
valueto be a Vector by changing the curly brackets to square brackets:value = [out, 20]Use the
ExpressionToTokenactor from the BCVTB library to convert that String to a vector of doubles.TheExpressionToTokenis in theConversionspackage of the BCVTB library.
You will need to configure the output ofExpressionToTokento 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 ofyourHouseModel.