www.gusucode.com > MATLAB2008应用程序接口编程技术源码程序 > MATLAB2008应用程序接口编程技术源码程序/code/第2章/2.3/mysum.m
n = 1;s = 0; while(n<=100) s = s + n; n = n + 1; end