https://ch.mathworks.com/help/fuzzy/mamfis.addmf.html
addMF - Add membership function to fuzzy variable - MATLAB
This MATLAB function adds a membership function with the specified type and parameters to the input or output variable varName in the fuzzy inference system...
add membershipfunctionfuzzyvariablematlab