Home > Libraries > Loaders > read_mccode.m

iFit/read_mccode

PURPOSE ^

read_mccode: load a McCode (McStas/McXtrace) simulation result

SYNOPSIS ^

function data = read_mccode(filename)

DESCRIPTION ^

 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

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Wed 22-Mar-2017 09:13:30 by m2html © 2005. iFit (c) E.Farhi/ILL EUPL 1.1