1 function a = myFunc(a,b,c,d,e) 2 for idx = 1 : 100 3 a = a-b + c^d*log(e); 4 end 5 end 6 7 >> profile on; myFunc(a,b,c,d,e); profile report
时间: 2024-10-09 23:48:00
1 function a = myFunc(a,b,c,d,e) 2 for idx = 1 : 100 3 a = a-b + c^d*log(e); 4 end 5 end 6 7 >> profile on; myFunc(a,b,c,d,e); profile report