MATLAB: In Genfis2, how can I set the output membership function to be constant

anfisfisFuzzy Logic Toolboxgenfis2

The default output membership function type generated by genfis2 is linear, but it is not explained how it can be set to constant! Theoretically, both can be used as output functions.

Best Answer

Unfortunately you cannot. Both the input and output membership function types are hardwired. I have created an enhancement request to improve the documentation to be more clear.
I also created an enhancement request to allow for changing membership function type.
Related Question