This function updates a fleet suitability parameters for a given stock. Please note that this function will only update the gadget internal pre-computed suitability values and not the user defined suitability function and its parameters found in the model file

updateSuitability(fleetName, stockName, len, value)

Arguments

fleetName

a string of the fleet name

stockName

a string of the stock name

len

the stock length target

value

the target suitability value

Value

a vector of numeric error codes (0 is success, otherwise is error)