Using verbose produces error

Undefined function or variable 'verbose'.
Error in (line 166) if verbose
if verbose
fprintf('Trial %d accuracy = %f\n', trial, accuracy(trial));
end

Antworten (1)

Stephen23
Stephen23 am 2 Aug. 2016
Bearbeitet: Stephen23 am 2 Aug. 2016

0 Stimmen

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

Kategorien

Mehr zu MATLAB Report Generator finden Sie in Hilfe-Center und File Exchange

Tags

Gefragt:

am 2 Aug. 2016

Bearbeitet:

am 2 Aug. 2016

Community Treasure Hunt

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

Start Hunting!

Translated by