MCmatlab: an open-source, user-friendly, MATLAB-integrated three-dimensional Monte Carlo light transport solver with heat diffusion and tissue damage
Related Experiment Video
Updated: Feb 1, 2026

A User-friendly and Powerful R Analysis of Large-scale Datasets
Published on: November 4, 2025
Dominik Marti1, Rikke N Aasbjerg1, Peter E Andersen1
1Technical University of Denmark, Department of Photonics Engineering, Roskilde, Denmark.
Abstract:
While there exist many Monte Carlo (MC) programs for solving the radiative transfer equation (RTE) in biological tissues, we have identified a need for an open-source MC program that is sufficiently user-friendly for use in an education environment, in which detailed knowledge of compiling or UNIX command-line cannot be assumed. Therefore, we introduce MCmatlab, an open-source codebase thus far consisting of (a) a fast three-dimensional MC RTE solver and (b) a finite-element heat diffusion and Arrhenius-based thermal tissue damage simulator, both run in MATLAB. The kernel for both of these solvers is written in parallelized C and implemented as MATLAB MEX functions, combining the speed of C with the familiarity and versatility of MATLAB. We compare the RTE solver to Steven Jacques' mcxyz, which it is inspired by, and present example results generated by the thermal model. MCmatlab is easy to install and use and can be used by students and experienced researchers alike for simulating tissue light propagation and, optionally, thermal damage.
Related Concept Videos
Phloem and Sugar Transport
Gas Exchange and Transport
Introduction to MATLAB
Facilitated Transport
Atomic Absorption Spectroscopy: Radiation and Light Sources
Two common narrow-range 'line' sources used in AAS are hollow-cathode lamps (HCLs) and...
Diffusion

