Using verbose produces error

조회 수: 2 (최근 30일)
arun
arun 2016년 8월 2일
편집: Stephen23 2016년 8월 2일
Undefined function or variable 'verbose'.
Error in (line 166) if verbose
if verbose
fprintf('Trial %d accuracy = %f\n', trial, accuracy(trial));
end

답변 (1개)

Stephen23
Stephen23 2016년 8월 2일
편집: Stephen23 2016년 8월 2일
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

카테고리

Help CenterFile Exchange에서 MATLAB Report Generator에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by