i***w 发帖数: 9 | 1 【 以下文字转载自 Programming 讨论区 】
发信人: Imnew (newbie), 信区: Programming
标 题: MATLAB function call too slow
发信站: BBS 未名空间站 (Fri Dec 29 14:03:11 2006)
After I profiled my programe, I found that the most time consuming part (
self time) in a function f(...) is something like this:
[A,B,C]= g(x,A,B,C);
I'm wondering why this statement will be slow? Since it's self time of f(...
),
it's not the time within function g(...). Does this mean the time is
consumed in copying matrix parameters A,B,C ? How can I i |
|