Borrar filtros
Borrar filtros

What can ı do for 'Undefined function 'togglebutton1_Callback' for input arguments of type 'struct''

2 visualizaciones (últimos 30 días)
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

Respuesta aceptada

Walter Roberson
Walter Roberson el 24 de Oct. de 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.

Más respuestas (0)

Categorías

Más información sobre Discrete Math en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by