From: Andy on
Again, it depends on why you're hiding it, which you have yet to tell us. It may not be worth the time to analyze the p-coded function and try to recreate an m-file. But information that is "hidden" in a p-coded function may not be as hidden as you think:

http://www.mathworks.com/matlabcentral/newsreader/view_thread/271697