Will codegen accelerate sub-functions?
2 views (last 30 days)
I have functions look like
If I use matlab coder to generate a mex file for main.m, would the for-loop in fun1.m get accelerated too?
Or do I have to generate fun1_mex for fun1.m, and then use coder.ceval() in the main.m, at last generate mex for main.m?