Using verbose produces error
6 ビュー (過去 30 日間)
古いコメントを表示
Undefined function or variable 'verbose'.
Error in (line 166) if verbose
if verbose
fprintf('Trial %d accuracy = %f\n', trial, accuracy(trial));
end
0 件のコメント
回答 (1 件)
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
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Workspace Variables and MAT-Files についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!