


read_mccode: load a McCode (McStas/McXtrace) simulation result
data = read_mccode(filename)
This function imports a McCode simulation result
It returns the McStas simulation structures.
It may import both McCode and Matlab format data sets.
input:
filename: one or more simulation name(s) or directory
or a single detector file name
if filename does not exist, a file selector is called.
output:
data: a cell of detector structures
examples:
read_mccode mcstas.sim
(c) E.Farhi, ILL. License: EUPL.
See also: read_anytext, read_inx