Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

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

2 visualizaciones (últimos 30 días)
SteveH
SteveH el 16 de Nov. de 2015
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
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 comentarios
Image Analyst
Image Analyst el 17 de Nov. de 2015
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 el 17 de Nov. de 2015
thanks Walter. I'll use fullfile(). learn something new every day.

Respuestas (0)

La pregunta está cerrada.

Community Treasure Hunt

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

Start Hunting!

Translated by