- You could use a for loop. Simple and straightforward.
- You could move your statements into a function block and write a script which calls the function. Here's something you can adapt:
a = [1 0; ...
0 0; ...
1 1];
for i=1:size(a,1)
evaluateMyFIS(a(i,:));
end
function g = evaluateMyFIS(a)
f = readfis('tipper');
g = evalfis(f,a);
disp(num2str(g))
end