File Exchange

image thumbnail

Brain Ruler

version (37.3 KB) by Philipp
Program for measuring relevant anatomical distances from MRI structural scans


Updated 02 Mar 2017

View License

In both magnetic and electrical brain stimulation, anatomical measurements, such as scalp to cortex distance, skull thickness, and CSF density, may correlate to the dosage needed to elicit a Motor Evoked Potential (MEP). This tool allows clinical researchers to measure these parameters at various locations in the brain, so that they may better understand the effect of the dosages they are delivering at various sites.

Cite As

Philipp (2021). Brain Ruler (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (3)

Jerome Maller

Indeed looks like a great tool, but like Ruan Harry, I keep getting an error when trying to run the Gui: "Error in BrainRulerGui (line 114) if view_mode==1". Can you please help me resolve this? Thankyou.

ruan harry

Hi, Thank you for your Tool. Where is view_mode? I can not find this function when I run the Gui. the SPM12 , IMTOOL3D,Nifti toolbox have been placed right.

Keith Clayton

Unbelievable! Who is this guy that created this program. It is going to really help students all over the country and overseas. Great file program.
Great job Philipp Summers.

MATLAB Release Compatibility
Created with R2015a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired by: Tools for NIfTI and ANALYZE image, imtool3D


Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!