Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!


  1. Nov 21, 2016 #1
    Hello! I am really glad to find this forum!

    I was wondering if anyone has a MATLAB code to parse the MCNP output file MCTAL? I did some Lattice simulation but it seemed hard to read the MCTAL file directly..

    Best regards
  2. jcsd
  3. Nov 26, 2016 #2


    User Avatar
    Staff Emeritus
    Science Advisor

    I'm not familiar with MATLAB, but as far as I can tell, .mctal files are ASCII format, so if one knows the format, one should be able to read the files into MATLAB with whatever function reads an ASCII-format file.

    A member here apparently has done that.

    How do others read ASCII files with MATLAB?
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted

Similar Discussions: MCNP MCTAL Parse Into MATLAB?
  1. Mcnp error (Replies: 7)

  2. Beginner MCNP (Replies: 6)

  3. MCNP Help (Replies: 14)

  4. MCNP errors (Replies: 1)

  5. MCNP F6 tally (Replies: 2)