MATLAB Compiler Previous page   Next Page

Finding Missing Functions in an M-File

To find functions in your application that may need to be listed in a %#function pragma, search your M-file source code for text strings specified as callback strings or as arguments to the feval, fminbnd, fminsearch, funm, and fzero functions or any ODE solvers.

To find text strings used as callback strings, search for the characters "Callback" or "fcn" in your M-file. This will find all the Callback properties defined by Handle Graphics objects, such as uicontrol and uimenu. In addition, this will find the properties of figures and axes that end in Fcn, such as CloseRequestFcn, that also support callbacks.


Previous page  Fixing Callback Problems: Missing Functions Suppressing Warnings on UNIX Next page

© 1994-2005 The MathWorks, Inc.