Skip to content

File name variable #745

Feb 3, 2021 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

Hi Nikita,
your variable filename is a string variable either of the full path or just the filename. So you can just use just a part of that string to either name your output file or write it to your output - it just depends how and what you are exporting.

With respect to something such as batch processing: Does all your ebsd data have the same coordinate system and material files (CS{}) ? If so, yes, of course you can automatically loop over any number of files in some directory
In very crude terms:

% general defition valid for all maps
CS = {... 
  'notIndexed',...
 crystalSymmetry('whatevergoeshere...)
  };

%%
infiles = dir('*.ctf') % list all files which end in .ctf

for i=1:length(i…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@NikitaSakharov
Comment options

@NikitaSakharov
Comment options

@kilir
Comment options

kilir Feb 4, 2021
Collaborator

Answer selected by ralfHielscher
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants