To resolve issues starting MATLAB on Mac OS X 10.10 (Yosemite) visit: http://www.mathworks.com/matlabcentral/answers/159016
How to make algebric loop in simulink,
I have requirment where I have to add two constant numbers with increment of 1, a=constant b=constant
a1=a+b; a2=a1+b; a3=a2+b; a4=a3+b;
You can use 'from' and 'goto' blocks from simulink-->signal routing library.