Hi Frank,
I came across the script when I had trouble to read cpr/crc EBSD files on Mtex. As I understand, both files need to be in the same folder and they represent their ctf equivalent. theThe problem was, Matlab kept throwing 'Warning: Escaped character '\U' is not valid. See 'doc
sprintf' for supported special characters.' error after I had changed the names of the files.
Anyway, I reinstate their original name, and, Frank thanks to your script, I exported them as a single ctf file.
Sara, I do not know what is your problem but when I run exportCTF (ebsd, '1.ctf'), it just saved the file to the directory of my choice. Probably you need to check which directory you had saved.
Thanks
Zelda