Cicode Programming Reference > Cicode Function Categories > Fuzzy Logic Functions Introduction > FuzzySetShellValue

FuzzySetShellValue

Sets a value for the specified input of the specified instance.

Syntax

FuzzySetShellValue(hFuzzy, iIOIndex, rShellValue)

hFuzzy:

The fuzzy instance handle (and integer greater than 0).

iIOIndex:

Specifies the variable to receive the value. The I/O-Indices start with 0 and increment by 1 for each variable. To find the correct index for a specific variable, the variables need to be sorted in alpha-numerical order, first the inputs and then the outputs.

rShellValue:

The value to be copied to the variable specified by iIOIndex.

Return Value

0 (zero) if successful, otherwise an error is returned.

Related Functions

FuzzyOpen, FuzzyGetShellValue

Example

See FuzzyOpen.

See Also

FuzzyTech Functions