Error ,not enough input arguments line 1
2 ビュー (過去 30 日間)
古いコメントを表示
if ~(isa(seg, 'double') isa(seg, 'uint8')) fprintf('The image is not double or uint8. You may receive many warnings.\n'); fprintf('Cast your image to either before sending here.');
0 件のコメント
回答 (1 件)
Julia
2014 年 8 月 6 日
編集済み: Julia
2014 年 8 月 6 日
There is no ",", "&" or "|" between your if - arguments. Perhaps this causes the error. This works in the command window:
if ~(isa(pi, 'double') & isa(pi, 'uint8'))
fprintf('The image is not double or uint8. You may receive many warnings.\n');
fprintf('Cast your image to either before sending here.');
end
The image is not double or uint8. You may receive many warnings.
Cast your image to either before sending here.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Denoising and Compression についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!