Info

この質問は閉じられています。 編集または回答するには再度開いてください。

This snippit works in base program, but not in a function.

1 回表示 (過去 30 日間)
SteveH
SteveH 2015 年 11 月 16 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
Have tried strjoin and several other commads with no success. Help?
opathName=[opath,'\',iname, num2str(a),'.tif'];
imwrite(uint16(I (:,:,a)),opath_ opathName,'tif','Compression','none'); tiff
  7 件のコメント
Image Analyst
Image Analyst 2015 年 11 月 17 日
That still won't work. What a mess - I'd much rather maintain Walter's code than yours, and I suggest you take his suggestion. By the way, to fix, change opathName to opath_name.
SteveH
SteveH 2015 年 11 月 17 日
thanks Walter. I'll use fullfile(). learn something new every day.

回答 (0 件)

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by