Products & Services Industries Academia Support User Community Company

Learn more about Fuzzy Logic Toolbox   

addvar - Add variable to Fuzzy Inference System

Syntax

a = addvar(a,'varType','varName',varBounds) 

Description

addvar has four arguments in this order:

Indices are applied to variables in the order in which they are added, so the first input variable added to a system is always known as input variable number one for that system. Input and output variables are numbered independently.

Examples

a = newfis('tipper');
a = addvar(a,'input','service',[0 10]);
getfis(a,'input',1)

This command returns the following result:

	Name = service
	NumMFs = 0
	MFLabels =
	Range = [0 10]

See Also

addmf, addrule, rmmf, rmvar

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS