What can ı do for 'Undefined function 'togglebutton1_Callback' for input arguments of type 'struct''
2 views (last 30 days)
Show older comments
serhat dag
on 23 Oct 2016
Answered: Walter Roberson
on 24 Oct 2016
What can ı do for 'Undefined function 'togglebutton1_Callback' for input arguments of type 'struct'' and other problem is give in the 'gui_mainfcn (line 96) feval(varargin{:});'. both problem depend each other
0 Comments
Accepted Answer
Walter Roberson
on 24 Oct 2016
Create a new file named toggle1_Callback.m with the following content
function toggle1_Callback(varargin)
fprintf(2, 'toggle1_Callback reached\n');
fprintf(2, 'Number of arguments: %d\n', nargin)
for K = 1 : nargin
thisarg = varargin{K};
fprintf(2, 'Argument #1 is class "%s"\n', class(thisarg) );
argsize = size(thisarg);
fprintf( 2, ['and size [', repmat('%d, ', 1, length(argsize)-1), '%d]\n'], argsize );
end
fprintf('Now we are going to deliberately error in order to find out who called us\n');
error('Report the above and the trace to MATLAB Answers');
Then execute and report to us everything that showed up in red.
0 Comments
More Answers (0)
See Also
Categories
Find more on Discrete Math in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!