Borrar filtros
Borrar filtros

Using verbose produces error

7 visualizaciones (últimos 30 días)
arun
arun el 2 de Ag. de 2016
Editada: Stephen23 el 2 de Ag. de 2016
Undefined function or variable 'verbose'.
Error in (line 166) if verbose
if verbose
fprintf('Trial %d accuracy = %f\n', trial, accuracy(trial));
end

Respuestas (1)

Stephen23
Stephen23 el 2 de Ag. de 2016
Editada: Stephen23 el 2 de Ag. de 2016
MATLAB does not have any inbuilt function or variable named verbose. Did you read about it in the MATLAB documentation ?
If you want a verbose option, then it is trivial to define it yourself:
verbose = false;
...
if verbose
disp(...)
end

Categorías

Más información sobre Workspace Variables and MAT-Files en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by