What error do you see?
You might need to use %function (I think it is) to declare a function that the compiler cannot figure out is being used; or you might be trying to compile a function that it is not allowed to compile.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!